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.

Usage

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

Example

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

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