Skip to main content

deleteRole

Deletes an existing role with the given key or id.

Parameters​

roleId - The id of the role. This can also be the role key.

Implementation​

const response = await permit.api.deleteRole(roleId);