API Reference

Delete a single pivot view

Description

Deletes a view that matches the provided ID. This is an administrative method and should be assumed a hard-delete, given no capability to restore a deleted view is available. A no-op if no such view exists.

DELETE /api/v1/pivotview/{pivotViewId}

🚧

Required OAuth Scopes:

No OAuth scopes are required to use this endpoint.

Parameters

ParameterInTypeRequiredDescription
pivotViewIdpathstringtrueThe unique identifier of the pivot view

Code Samples

curl -X DELETE https://h.app.wdesk.com/s/wdata/prep/api/v1/pivotview/{pivotViewId}  \ 
-H 'Accept: application/json' \ 
-H 'Authorization: Bearer {access-token}'
http DELETE https://h.app.wdesk.com/s/wdata/prep/api/v1/pivotview/{pivotViewId}  \ 
Accept:application/json \ 
Authorization:"Bearer {access-token}"
wget --method=DELETE "https://h.app.wdesk.com/s/wdata/prep/api/v1/pivotview/{pivotViewId}" \
 --output-document -  \ 
 --header 'Accept: application/json' \ 
 --header 'Authorization: Bearer {access-token}'
import requests
headers = {
  'Accept': 'application/json',
  'Authorization': 'Bearer {access-token}'
}

r = requests.delete('https://h.app.wdesk.com/s/wdata/prep/api/v1/pivotview/{pivotViewId}', headers = headers)

print(r.json())

Returns

200 - OK

Returns a JSON object with a body property, which contains the ID of the deleted resource.

Example Responses


{
  "body": "string",
  "code": "integer"
}