DELETE users - ocariot/api-gateway GitHub Wiki

Description

This route makes it possible to exclude users from the platform.

Permissions:

  • Only Admin user can delete any user except himself.

Scope

users:delete

URL

DELETE https://localhost/v1/users/{user_id}

Parameters

user_id: string (A 24-byte hex ID)

Curl example

curl -X DELETE "https://localhost/v1/users/5a62be07de34500146d9c544" -H "accept: /" -H "Authorization: Bearer YOUR_ACCESS_TOKEN"

Response body