Skip to main content
POST
Bulk provision tokens

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
tokens
object[]
required
Required array length: 1 - 1000 elements

Response

The body is not valid JSON (INVALID_REQUEST_BODY)

type
string
required

Error type URI

Example:

"/errors/validation-failed"

title
string
required
Example:

"Validation Failed"

status
integer
required
Example:

422

detail
string
required
error_code
enum<string>
required

Machine-readable error cause. The Errors section of the API description says when each is returned

Available options:
INVALID_REQUEST_BODY,
INVALID_PATH_ID,
INVALID_IDEMPOTENCY_KEY,
INVALID_CURSOR,
AUTH_CONTEXT_INVALID,
INSUFFICIENT_SCOPE,
RESOURCE_NOT_FOUND,
UID_ALREADY_REGISTERED,
IDEMPOTENCY_KEY_REUSED,
REQUEST_IN_PROGRESS,
RESOURCE_CONFLICT,
PAYLOAD_TOO_LARGE,
UNSUPPORTED_MEDIA_TYPE,
VALIDATION_FAILED,
RATE_LIMIT_EXCEEDED,
INTERNAL_SERVER_ERROR,
NOT_IMPLEMENTED
Example:

"RESOURCE_NOT_FOUND"

correlation_id
string<uuid>
required

Matches X-Request-Id header

retryable
boolean
required
retry_after_seconds
integer
Required range: x >= 1
errors
object[]