deleteVersion

Function

Deletes the version specified by the entity id and versionId

  • deleteVersion(id: string, versionId: string, owner: string, requestOptions: IHubUserRequestOptions) : Promise<{
    success:
    boolean
    }>

Parameters

Parameter Type Default Notes
id Required string
versionId Required string
owner Required string
requestOptions Required IHubUserRequestOptions

Available requestOptions

Property Type Notes
authentication ArcGISIdentityManager
fetch Optional Inherited function(input: RequestInfo, init: RequestInit) : Promise<Response>

The implementation of fetch to use. Defaults to a global fetch.

hubApiUrl Optional Inherited string
isPortal Optional Inherited boolean
portalSelf Optional Inherited IHubRequestOptionsPortalSelf

Returns

Promise<{
success:
boolean
}>

Function defined in common/src/versioning/deleteVersion.ts:13