Create
Declare a scope under a resource server. The scope value is the literal OAuth scope string and is immutable after creation.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.
Path Parameters
The application that owns the resource server.
Body
XAAScopeServiceCreateRequest declares a new scope.
Risk classification.
XAA_SCOPE_CLASSIFICATION_UNSPECIFIED, XAA_SCOPE_CLASSIFICATION_READ, XAA_SCOPE_CLASSIFICATION_WRITE, XAA_SCOPE_CLASSIFICATION_DESTRUCTIVE, XAA_SCOPE_CLASSIFICATION_SENSITIVE, XAA_SCOPE_CLASSIFICATION_DANGEROUS Description of what the scope grants.
Display name for the scope.
The literal OAuth scope string. Immutable after creation.
Initial state. UNSPECIFIED defaults to PENDING_REVIEW.
XAA_SCOPE_STATE_UNSPECIFIED, XAA_SCOPE_STATE_PENDING_REVIEW, XAA_SCOPE_STATE_ENABLED, XAA_SCOPE_STATE_DISABLED, XAA_SCOPE_STATE_REMOVED The resource server this scope belongs to.
Response
XAAScopeServiceCreateResponse returns the created scope.
XAAScopeServiceCreateResponse returns the created scope.
XAAScope is a single OAuth scope exposed by a resource server, elevated into a governable object bound to its own entitlement.