Skip to content

Revoke a personal access token for a project service account

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

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

id
required
One of:
string

The ID or URL-encoded path of the project

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