Create relationship rule

post/v1/workspaces/{workspaceId}/relationship-rules

Path parameters

workspaceIdstring required

ID of the workspace

Request body

descriptionstring
fromType'deployment' | 'environment' | 'resource' required
metadataobject required
namestring required
referencestring required
relationshipTypestring required
toType'deployment' | 'environment' | 'resource' required

Response

Resource created successfully

descriptionstring
fromType'deployment' | 'environment' | 'resource' required
idstring required
metadataobject required
namestring required
referencestring required
relationshipTypestring required
toType'deployment' | 'environment' | 'resource' required
workspaceIdstring required

Changes