Delete a user
DELETE /api/users/{user_id}
DELETE /api/users/{user_id}Interactive request editor loads with JavaScript.
X-API-KEY<token>
In: header
Path Parameters
user_id*string
The user ID.
Length
1 <= lengthResponse Body
application/json
curl -X DELETE "$API_BASE_URL/api/users/86fb9981-d9d2-4555-9df8-91ae92129335"Operation completed successfully with no response body.
""Invalid arguments. Error details will be provided in the response.
Complete operation details and schema variants
DELETE /api/users/{user_id}
Delete a user
Delete a dashboard user account and revoke its login access. Verify downstream ownership and role dependencies before removal.
Required IAM Permission: Action iam:DeleteUser, Resource arn:api7:iam:user/%s
Parameters
user_id(path, string, required): The user ID.
Responses
200: Operation completed successfully with no response body.400: Invalid arguments. Error details will be provided in the response.
cURL
curl -X DELETE '$API_BASE_URL/api/users/{user_id}'