Directus / @directus/sdk / rest / deleteRoles
Function: deleteRoles() ​
deleteRoles<
Schema
>(keys
):RestCommand
<void
,Schema
>
Delete multiple existing roles.
Type Parameters ​
• Schema
Parameters ​
• keys: DirectusRole
<Schema
>["id"
][]
Returns ​
RestCommand
<void
, Schema
>
Throws ​
Will throw if keys is empty