Directus / @directus/sdk / rest / deleteRelation
Function: deleteRelation() ​
deleteRelation<
Schema
>(collection
,field
):RestCommand
<void
,Schema
>
Delete an existing relation.
Type Parameters ​
• Schema
Parameters ​
• collection: string
• field: string
Returns ​
RestCommand
<void
, Schema
>
Throws ​
Will throw if collection is empty
Throws ​
Will throw if field is empty