Remove a site user
delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequiredPattern:
A unique entity identifier
^[a-zA-Z0-9_-]+$siteIdstringRequired
The unique id of the site
userIdstringRequired
The unique ID of the User
Responses
204
The user was not found in the site
No content
205
The user has been removed from the site
delete/orgs/{organizationId}/sites/{siteId}/permissions/users/{userId}
DELETE /v1/orgs/{organizationId}/sites/{siteId}/permissions/users/{userId} HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
Was this helpful?