Rotate registry access token
Issues a new secret for an active token; the old secret stops working immediately. The new secret is returned once. Revoked or expired tokens return 409. Requires scope: container-registry.write.
Authentication
AuthorizationBearer
IBEE platform API token. Production tokens start with ibee_prod_key_; development tokens start with ibee_dev_key_. Use a token only with its matching gateway environment.
Path parameters
registry_id
Registry ID.
token_id
Registry access token ID.
Query parameters
workspace_id
The positive numeric workspace ID to scope this request to. Zero, negative, and non-numeric values are rejected.
Response
Secret rotated. Store the new secret now.
token_id
Unique ID of the token.
token_name
Name of the token.
username
Docker login username. It contains $, so quote it in shells.
secret
Docker login password. Returned only by create and rotate.
permission
What a registry access token may do.
PULL: pull images.PULL_PUSH: pull and push images.
Allowed values:
registry_ids
Registries the token may use.
expires_at
When the token expires (ISO 8601); null for a token that does not expire.
created_at
When the token was created (ISO 8601).
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
413
Content Too Large Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
502
Bad Gateway Error
503
Service Unavailable Error
504
Gateway Timeout Error
