Creates or updates a exception policy.

Changed on

Creates or updates a exception policy.

patch/routing/exceptionPolicies/{exceptionPolicyId}

Request

  • Base URL
    {endpoint}
  • Auth
    OAuth 2
    Authorization codehttps://login.microsoftonline.com/common/oauth2/authorize
    Token URLhttps://login.microsoftonline.com/common/oauth2/token
    Scopeshttps://communication.azure.com/.default

Path parameters

exceptionPolicyIdstring required

Id of an exception policy.

Query parameters

api-versionstring required

The API version to use for this operation.

Headers

If-Matchstring

The request should only proceed if an entity matches this string.

If-Unmodified-Sincestring date-time-rfc7231

The request should only proceed if the entity was not modified after this time.

Request body

namestring

Friendly name of this policy.

Response

The request has succeeded.

etagstring required

The ETag (or entity tag) HTTP response header is an identifier for a specific version of a resource. It lets caches be more efficient and save bandwidth, as a web server does not need to resend a full response if the content was not changed.

It is a string of ASCII characters placed between double quotes, like "675af34563dc-tr34".

idstring required

Id of an exception policy.

namestring

Friendly name of this policy.

Changes

    • breaking

      removed the success response with the status

    • warning

      the optional response header ETag removed for the status 200

    • warning

      the optional response header Last-Modified removed for the status 200

    5 more changes in this revision