hub schema delete relationshipLabel

Deletes a relationship label from a model.

Use the hub schema delete relationshipLabel command to delete a relationship label from a model. You may optionally choose wait for other jobs in synchronous mode.


hub schema delete relationshipLabel --m model --r relationshipLabel --s sourceEntityType --t targetEntityType --w waitForComplete
Required 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:
Waits for jobs to complete.
Does not wait for jobs to complete. This is the default setting.


This example deletes the relationshipLabel Hired from a model called Staff.

hub schema delete relationshipLabel --m Staff --r Hired