Directus / @directus/sdk / rest / deleteRelation
Function: deleteRelation() ​
deleteRelation<
Schema>(collection,field):RestCommand<void,Schema>
Defined in: rest/commands/delete/relations.ts:14
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