Capabilities

Define a new capability

Creates a new capability. If a Capability with the same name already exists then 201 status is returned and the Location header contains the URI for the existing Capability.

post/capabilities

Request

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

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

Capability has been created

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.