DELETE/v2/users/{user-id}Delete user

Delete a specific user based on ID
headerAuthorizationAuthentication token (bearer token or API key).

Response

status200All ok, user deleted
status400User is an organization admin, remove the organization admin rights first
status401Invalid authentication token
status403Insufficient rights
status404User not found
{}

Example: Delete a user for specified ID

DELETE/v2/users/8

headerAuthorizationBearer 49ae0a1c-0fbb-477a-a604-996524562238

Response

status200
headerAccess-Control-Expose-Headersauthorization, content-type
headerAccess-Control-Allow-Headersauthorization, content-type
headerAccess-Control-Allow-MethodsGET, POST, DELETE, OPTIONS, PUT
headerAccess-Control-Allow-Origin*
headerStrict-Transport-Securitymax-age=31536000; includeSubDomains
headerX-Frame-OptionsSAMEORIGIN
headerX-Content-Type-Optionsnosniff
headerX-XSS-Protection1; mode=block
headerContent-Security-Policydefault-src 'none'; frame-ancestors 'none'; base-uri 'none'; form-action 'none'
headerReferrer-Policyno-referrer
headerFeature-Policyself
headerPermissions-policyinterest-cohort=()
{}

Example: Not delete a user that still has organization admin rights