Delete user

DELETE /api/users/{userId}

Delete user with the given ID. Note all associated data will be deleted cascadingly.

Path parameters

  • userId string Required

    The unique identifier of the user.

Responses

  • 204

    User deleted successfully.

  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

  • 404

    Not Found

DELETE /api/users/{userId}
curl \
 --request DELETE 'https://[tenant_id].logto.app/api/users/{userId}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"