Skip to content

Delete a group service account

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

Deletes a specified group service account. Available only for group Owners and administrators.

id
required
One of:
string

The ID or URL-encoded path of the group

user_id
required
integer

The ID of the service account

hard_delete
boolean
nullable

Whether to remove a user’s contributions

Resource deleted

400 Bad request

401 Unauthorized

403 Forbidden

404 Group not found