hub schema delete relationshipProperty

Deletes a relationship property from a model.

Use the hub schema delete relationshipProperty command to delete a Data Hub model relationship property.


hub schema delete relationshipProperty --m model --r relationshipLabel --p property --s sourceEntityType --t targetEntityType --w waitForComplete
Required Argument Description
Yes --m model Specifies the name of the model whose entity type or relationship label property you want to delete.
No --r relationshipLabel Specifies the target relationship label; includes all relationship labels if not specified.
Yes --p property Specifies the property you want to delete.
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 property HireDate from a model called Staff and a relationship label of Hired.

hub schema delete relationshipProperty --m Staff --r Hired --p HireDate