Delete relationship
DELETE {{baseUrl}}/api/relation/:relationName/from/:sourceType/:sourceKey/to/:targetType/:targetKey?sourceStatus=<string>&targetStatus=<string>&sourceVersion=<integer>&targetVersion=<integer>
Deletes a relationship between two entities (user, space, content).
Permissions required: Permission to access the Confluence site ('Can use' global permission). For favourite relationships, the current user can only delete their own favourite relationships. A space administrator can delete favourite relationships for any user.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
sourceStatus | string | The status of the source. This parameter is only used when the | |
sourceType is 'content'. | |||
targetStatus | string | The status of the target. This parameter is only used when the | |
targetType is 'content'. | |||
sourceVersion | string | The version of the source. This parameter is only used when the | |
sourceType is 'content' and the sourceStatus is 'historical'. | |||
targetVersion | string | The version of the target. This parameter is only used when the | |
targetType is 'content' and the targetStatus is 'historical'. |