API Documentation
Endpoints
- Analytics
- Auth
- System
- User
- Workspace
- GETGet workspaces
- POSTCreate workspace
- GETGet workspace
- DELDelete workspace
- PATCHUpdate workspace
- GETGet all invoices that belong to the workspace
- GETReturn the generated invoice PDF
- GETGet workspace members
- POSTInvite workspace member
- POSTJoin to a workspace
- DELRemove workspace member
- GETGet workspace subscription
- DELCancel workspace subscription
- GET
- Domain
- Link
- QR Code
Workspace
Cancel workspace subscription
Cancels the subscription that belongs to the workspace
DELETE
/
v1
/
workspaces
/
{workspace_id}
/
subscription
Copy
curl --request DELETE \
--url https://api.ziplink.click/v1/workspaces/{workspace_id}/subscription
Copy
{
"amount": 12,
"cancel_at_period_end": false,
"currency": "usd",
"expires_at": "2023-11-07T05:31:56Z",
"features": [
"custom_qr_codes"
],
"free": false,
"payment_frequency": "month",
"pending_plan_id": "ab782971-4d79-47ab-8685-77cf5a34b2bb",
"plan_id": "ab782971-4d79-47ab-8685-77cf5a34b2bb",
"plan_name": "Free Plan",
"quota": {
"analytics_retention_days": 30,
"campaigns": 3,
"domains": 1,
"link_in_bios": 1,
"links": 100,
"members": 5
},
"status": "active"
}
Path Parameters
ID of the workspace.
Example:
"ab782971-4d79-47ab-8685-77cf5a34b2bb"
Response
200
application/json
OK
The response is of type object
.
Copy
curl --request DELETE \
--url https://api.ziplink.click/v1/workspaces/{workspace_id}/subscription
Copy
{
"amount": 12,
"cancel_at_period_end": false,
"currency": "usd",
"expires_at": "2023-11-07T05:31:56Z",
"features": [
"custom_qr_codes"
],
"free": false,
"payment_frequency": "month",
"pending_plan_id": "ab782971-4d79-47ab-8685-77cf5a34b2bb",
"plan_id": "ab782971-4d79-47ab-8685-77cf5a34b2bb",
"plan_name": "Free Plan",
"quota": {
"analytics_retention_days": 30,
"campaigns": 3,
"domains": 1,
"link_in_bios": 1,
"links": 100,
"members": 5
},
"status": "active"
}
Assistant
Responses are generated using AI and may contain mistakes.