API Reference

Delete a single select list

Description

Deletes a select list with the provided ID. If no such select list exists, this is a no-op.

DELETE /api/v1/selectlist/{selectListId}

🚧

Required OAuth Scopes:

No OAuth scopes are required to use this endpoint.

Parameters

ParameterInTypeRequiredDescription
selectListIdpathstringtrueThe unique identifier of the select list

Code Samples

curl -X DELETE https://h.app.wdesk.com/s/wdata/prep/api/v1/selectlist/{selectListId}  \ 
-H 'Accept: application/json' \ 
-H 'Authorization: Bearer {access-token}'
http DELETE https://h.app.wdesk.com/s/wdata/prep/api/v1/selectlist/{selectListId}  \ 
Accept:application/json \ 
Authorization:"Bearer {access-token}"
wget --method=DELETE "https://h.app.wdesk.com/s/wdata/prep/api/v1/selectlist/{selectListId}" \
 --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/selectlist/{selectListId}', headers = headers)

print(r.json())

Returns

200 - OK

Returns a JSON object with a body property, which contains the provided id.

Example Responses


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