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

KeyDatatypeRequiredDescription
sourceStatusstringThe status of the source. This parameter is only used when the
sourceType is 'content'.
targetStatusstringThe status of the target. This parameter is only used when the
targetType is 'content'.
sourceVersionstringThe version of the source. This parameter is only used when the
sourceType is 'content' and the sourceStatus is 'historical'.
targetVersionstringThe version of the target. This parameter is only used when the
targetType is 'content' and the targetStatus is 'historical'.