Skip to main content
Version: 2.0.0

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);