API ReferenceConsole APIRoles

Remove role

DELETEapi.blutui.com/v1/agencies/{username}/roles/{id}

Remove a role in your agency.

Path parameters

idstringrequired

The ID of the role to remove.

Response

import Blutui from 'blutui'

const blutui = new Blutui('ey....')

blutui.agency('studio').roles.remove(2)
JSON Response
{
  "id": 2,
  "object": "role",
  "deleted": true
}
idstring

The unique identifier for this role.

objectstring

This will always contain role for this endpoint.

deletedboolean

Determine if the object was successfully deleted.

Last updated on