Delete a list
Delete a list given its ID.
Authorizations
Path parameters
workspaceIdstring · uuidRequiredExample:
Your workspace identifier.
b4e02c85-c6d2-4b15-8885-e09671799c61
listIdstring · uuidRequiredExample:
The ID of a list.
b4e02c85-c6d2-4b15-8885-e09671799c61
Responses
204
The list was deleted successfully.
404
The workspace or list was not found.
application/json
delete
DELETE /workspaces/{workspaceId}/lists/{listId} HTTP/1.1
Host: api.bird.com
Authorization: Bearer JWT
Accept: */*
No content
Examples
Let's establish some of our data that will be used in the following examples:
Workspace ID: a1405560-c8d3-4b1a-877d-3f449ad95352
AccessKey: abcd
List ID: 123e4567-e89b-12d3-a456-426614174000
Delete a list
In this example, we are deleting a list given its ID.
curl -X DELETE "https://api.bird.com/workspaces/a1405560-c8d3-4b1a-877d-3f449ad95352/lists/123e4567-e89b-12d3-a456-426614174000" \
-H "Content-Type: application/json" \
-H "Authorization: AccessKey abcd"
Last updated
Was this helpful?