Revokes an access token

DELETE /v4/projects/{id}/access_tokens/{token_id}

Revokes an access token

Path parameters

  • id integer | string Required

    The ID or URL-encoded path of the project

  • token_id integer | string Required

    The ID of the project access token

Responses

DELETE /v4/projects/{id}/access_tokens/{token_id}
curl \
 -X DELETE https://gitlab.com/api/v4/projects/{id}/access_tokens/{token_id}