- URL:http:// <usercontent-url>/deleteRelationship(POST only)
Deletes a relationship of a certain type between two items. The current user must have created the relationship to delete it. If the relationship does not exist, an error is thrown.
|[Common Parameters]|| |
For a complete listing, see Common parameters.
The item ID of the origin item of the relationship.
The item ID of the destination item of the relationship.
The type of relationship between the two items.
Indicates if the operation was successful.
URL for Delete Relationship
http://www.arcgis.com/sharing/rest/content/users/jsmith/deleteRelationship Origin Item ID=a40fddbcd3fc4fadbbb50485a50c3ed0 Destination Item ID=b512083cd1b64e2da1d3f66dbb135956 Relationship Type=Map2Service
JSON Response Syntax
"success" : true | false
JSON Response Example
"success" : true