Deletes a user by id.

Method

DELETE /user/{id}

Parameters

Path Parameters

Name Description
id The id of the user to be deleted.

Result

This method returns no content.

Response Codes

Code Media type Description
204 application/json Request successful.
403 application/json Identity service is read-only (Cannot modify users / groups / memberships).
404 application/json User cannot be found. See the Introduction for the error response format.

Example

Request

DELETE /user/jonny1

Response

Status 204. No content.

目录: