iotoms Docs

Delete a role

DELETE
/api/v1/management/roles/{id}

Permanently deletes a user role. Returns no content on success.

How to use it

  1. Get the role ID from List roles.
  2. The role is removed permanently and the call returns no content.

Authorization

BearerAuth
headerAuthorizationBearer <JWT>

Path Parameters

id*integer

ID of the record.

Formatint64

Response Body

OK

Example Request
curl -X DELETE 'https://beta.iotoms.com/api/v1/management/roles/0'
Example Response
Empty