removeItemRelationship
FunctionremoveItemRelationship(requestOptions: IManageItemRelationshipOptions): Promise<{ success: boolean }>
Remove a relationship between two items. See the REST Documentation for more information.
import { removeItemRelationship } from "@esri/arcgis-rest-portal";
removeItemRelationship({
originItemId: '3ef',
destinationItemId: 'ae7',
relationshipType: 'Service2Layer',
authentication
})
.then(response)
Parameters
Parameter | Type | Notes |
---|---|---|
request | IManageItemRelationshipOptions | Options for the request |
Returns
Promise<{ success: boolean }>
A Promise to add item resources.