removeItemRelationship

removeItemRelationship

Function
removeItemRelationship(requestOptionsIManageItemRelationshipOptions): Promise<{ success: boolean }>

Remove a relationship between two items. See the REST Documentation for more information.

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
import { removeItemRelationship } from "@esri/arcgis-rest-portal";

removeItemRelationship({
  originItemId: '3ef',
  destinationItemId: 'ae7',
  relationshipType: 'Service2Layer',
  authentication
})
  .then(response)
Parameters
ParameterTypeNotes
requestOptions
IManageItemRelationshipOptions

Options for the request

Returns 
Promise<{ success: boolean }>

A Promise to add item resources.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.