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