/auth/v1/users/<user_ID>: DELETE
Deletes a specific user.
The following table shows which roles can access this REST API endpoint:
Data admin | Data user | Collection Admin | Admin | Service user |
---|---|---|---|---|
Χ | Χ | Χ | ✓ | Χ |
Synopsis of the request URL
curl -k -H ‘Authorization: Bearer <token>’ https://<data_cataloging_host>/auth/v1/users/<user_ID> -X DELETE
Supported request types and response formats
Supported request types:
- DELETE
- JSON
Examples
The following example shows how to delete a user.
Request:
curl -k -H ‘Authorization: Bearer <token>’ https://<data_cataloging_host>/auth/v1/users/4ee5b47f439640d29b6fac7253a64290
Response:
204 No Content