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
Yes--m modelSpecifies the name of the model whose relationship label you want to delete.
Yes--r relationshipLabelSpecifies the relationship label to be deleted.
No--s sourceEntityTypeSpecifies the type of source entity.
No--t targetEntityTypeSpecifies the type of target entity.
No--w waitForCompleteSpecifies 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