Delete a User
Delete a user by userId
.
caution
This endpoint has been deprecated and will be phased out at the end of 2023. Please update any existing usages of it to use the Delete Object endpoint instead.
Endpoint
DELETE /v1/users/:userId
Parameters
Parameter | Description | Type | Required |
---|---|---|---|
userId | The userId of the user to delete. | URL param | yes |
Request
- cURL
- Go
- Java
- Node.js
- Python
- Ruby
- PHP
curl "https://api.warrant.dev/v1/users/d6ed6474-784e-407e-a1ea-42a91d4c52b9" \
-X DELETE \
-H "Authorization: ApiKey YOUR_KEY" \
err := user.Delete("d6ed6474-784e-407e-a1ea-42a91d4c52b9")
client.deleteUser("d6ed6474-784e-407e-a1ea-42a91d4c52b9");
await warrantClient.User.delete("d6ed6474-784e-407e-a1ea-42a91d4c52b9");
warrant.User.delete("d6ed6474-784e-407e-a1ea-42a91d4c52b9")
Warrant::User.delete("d6ed6474-784e-407e-a1ea-42a91d4c52b9")
$warrant->deleteUser("d6ed6474-784e-407e-a1ea-42a91d4c52b9");
Response
200 OK