POST
/v1/organizations/{organizationId}/first-identityProvision an Organization's first authenticated caller
Create the first Organization-scoped ServicePrincipal, Admin Grant, and API key, returning the key exactly once. This operation is for Cantora operators.
Cantora-operated endpoint
Authentication
Send an API key as a Bearer token in the Authorization header.
Parameters
Responses
201OrganizationIdentityProvisionedapplication/json401Unauthorizedapplication/json403Forbiddenapplication/json404NotFoundapplication/json409Conflictapplication/jsonReusable schemas
OrganizationIdentityProvisionedEncoded
object- unknown properties allowed
false
organizationIdrequiredstringThe Organization identifier.- maximum length
64 - pattern
^org_[\s\S]+$
- maximum length
principalIdrequiredstringThe Principal identifier.- maximum length
64 - pattern
^principal_[\s\S]+$
- maximum length
grantIdrequiredstringThe Grant identifier.- maximum length
64 - pattern
^grant_[\s\S]+$
- maximum length
rolerequiredstringThe Organization role granted to the provisioned identity.- allowed values
"admin"
- allowed values
apiKeyIdrequiredstringThe identifier of the issued API key.- maximum length
64 - pattern
^apikey_[\s\S]+$
- maximum length
apiKeyrequiredstringThe Organization's initial provisioning credential, returned exactly onceexpiresAtrequiredstringWhen the resource expires, in UTC, or null when it does not expire.- format
date-time
- format
UnauthorizedEncoded
object- unknown properties allowed
false
_tagrequiredstringThe stable machine-readable error type.- allowed values
"Unauthorized"
- allowed values
reasonrequiredstringA safe explanation of why the credential was rejected.
ForbiddenEncoded
object- unknown properties allowed
false
_tagrequiredstringThe stable machine-readable error type.- allowed values
"Forbidden"
- allowed values
permissionrequiredstringThe permission required by the refused operation.
NotFoundEncoded
object- unknown properties allowed
false
_tagrequiredstringThe stable machine-readable error type.- allowed values
"NotFound"
- allowed values
resourcerequiredstringThe resource type relevant to the error.idrequiredstringThe identifier supplied for the resource that was not found.
ConflictEncoded
object- unknown properties allowed
false
_tagrequiredstringThe stable machine-readable error type.- allowed values
"Conflict"
- allowed values
resourcerequiredstringThe resource type relevant to the error.reasonrequiredstringA safe explanation of the state conflict.