Delete access token Run in API Explorer
Delete a specific access token for an organization. This action cannot be undone.
DELETE
/v2/orgs/{org_name}/access-tokens/{access_token_id}
curl \
--request DELETE 'https://hub.docker.com/v2/orgs/myorganization/access-tokens/a7a5ef25-8889-43a0-8cc7-f2a94268e861' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (401)
{
"detail": "string",
"message": "string"
}
Response examples (403)
{
"detail": "string",
"message": "string"
}
Response examples (404)
{
"detail": "string",
"message": "string"
}