Example searches: “secret”, “username”, “phone”, “webauthnRelatedOrigins”, “description”
Delete user with the given ID. Note all associated data will be deleted cascadingly.
The unique identifier of the user.
User deleted successfully.
Bad Request
Unauthorized
Forbidden
Not Found
curl \ --request DELETE 'https://[tenant_id].logto.app/api/users/{userId}' \ --header "Authorization: Bearer $ACCESS_TOKEN"