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
status401Invalid authentication token
status403Insufficient rights
status404User not found
{}

Example: Delete a user for specified ID

DELETE/v2/users/4

headerAuthorizationBearer fbe736cf-9b18-4b22-b1be-e0b4ff9fef43

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=()
{}