Skip to content

Revoke a personal access token for a group service account

DELETE
/api/v4/groups/{id}/service_accounts/{user_id}/personal_access_tokens/{token_id}

Revokes a specified personal access token for a group service account.

id
required
One of:
string

The ID or URL-encoded path of the group

token_id
required
integer

The ID of the personal access token

user_id
required
integer

The ID of the service account

No Content

Bad Request

Unauthorized

Forbidden

Not Found