Capabilities

Update an existing capability

Patches the specified capability based on the representation in the request body.

patch/capabilities/{capabilityName}

Request

  • Base URL: http://example.com/authorization
  • URL: http://example.com/authorization/capabilities/{capabilityName}
  • Auth: none declared

Path parameters

capabilityNamestring required

Name of the capability to update

Headers

If-Matchstring

ETag header. If the ETag does not match, the update will fail.

Accept'application/vnd.sas.authorization.capability.summary' | 'application/vnd.sas.authorization.capability.summary;version=1' | 'application/vnd.sas.authorization.capability.summary;version=2'

The respresentation to use for the returned capabilities.

Request body

idstring

The system-assigned unique ID for this capability.

namestring required

The full stop separated name for this capability e.g. sas.document.edit

descriptionstring required

The description of the capability

productstring

The product associated with the capability.

versioninteger

The schema version for the capability.

Response

OK

idstring

The system-assigned unique ID for this capability.

namestring required

The full stop separated name for this capability e.g. sas.document.edit

descriptionstring required

The description of the capability

productstring

The product associated with the capability.

versioninteger

The schema version for the capability.

Changes

No recorded changes to this operation across all 1 revision of this API.