Skip to main content

CREATE OR UPDATE Target

PATCH 

/workspaces/:workspaceId/alerting/targets/:targetName

CREATE OR UPDATE Target

Request

Path Parameters

    workspaceId uuidrequired
    targetName stringrequired

Header Parameters

    If-None-Match string

    To ensure that no existing target is updated pass If-None-Match header set to "*".

Body

    type stringrequired

    Possible values: [Slack, AzureServiceBus, EmailGroup]

    Allowed values: Slack, AzureServiceBus, EmailGroup

    properties

    object

    required

    uri urinullable

    Applicable to 'Slack' target.

    connectionString stringnullable

    Applicable to 'ServiceBus' target.

    entityPath stringnullable

    Applicable to 'ServiceBus' target.

    emails string[]nullable

    Applicable to 'EmailGroup' target.

Responses

Target has been updated.

Loading...