Regenerate the OCI registry token for
PUT/v1/serviceaccounts/:id/ocitoken
Regenerate the OCI registry token for a given service account matching the provided id. Providing a new OCI registry token to this Service Account and sending it back to the client back. Calling this endpoint will remove the current token for the service account and create a new one. Old token can not be used.
Request
Responses
- 200
- 400
- 401
- 500
The Service Account OCI registry token has been regenerated
BadRequest. This also happens when trying to regenerate token for account without token based authentication
Unauthorized
InternalServerError