Skip to navigation

Provision up to 1000 tokens

The batch is validated and created as a whole. With auto_activate each token is pushed in turn; a failed push is listed and that token stays PROVISIONED.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Headers

Idempotency-KeystringRequired1-255 characters
A unique key you choose for this call, e.g. a UUID. Retrying with the same key returns the first result instead of acting twice.

Request

This endpoint expects an object.
tokenslist of objectsRequired

Response

How many tokens were provisioned and activated, and which pushes failed.
provisionedinteger
activatedinteger
failureslist of objects

Errors

401
Unauthorized Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error