contextgraph schema delete relationshipLabel
Deletes a relationship label from a model.
Use the contextgraph schema delete relationshipLabel command to delete a relationship label from a model. You may optionally choose wait for other jobs in synchronous mode.
Usage
contextgraph schema delete relationshipLabel --m model --r relationshipLabel --s sourceEntityType --t targetEntityType --w waitForCompleteRequired | Argument | Description |
---|---|---|
Yes | --m model | Specifies the name of the model whose relationship label you want to delete. |
Yes | --r relationshipLabel | Specifies the relationship label to be deleted. |
No | --s sourceEntityType | Specifies the type of source entity. |
No | --t targetEntityType | Specifies the type of target entity. |
No | --w waitForComplete | Specifies whether to wait for jobs to complete in a synchronous mode, where
waitForComplete is one of the following:
|
Example
This example deletes the relationshipLabel Hired from a model called Staff.
contextgraph schema delete relationshipLabel --m Staff --r Hired