Skip to content

Delete a project service account

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

Deletes a specified project service account. Available only for project Owners, Maintainers, and administrators.

id
required
One of:
string

The ID or URL-encoded path of the project

user_id
required
integer

The ID of the service account

hard_delete
boolean
nullable

Whether to remove a user’s contributions

No Content

400 Bad request

401 Unauthorized

403 Forbidden

404 Project not found