cURL
curl --request PATCH \ --url https://api.spacebring.com/subscriptions/v1/{id} \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "subscription": { "endDate": "2023-11-07T05:31:56Z" } } '
{ "message": "<string>", "type": "<string>" }
Update a certain subscription.
subscriptions
See our authentication documentation for how to authorize your requests
The id of the network. Required when using bearer token authentication
The id of the subscription.
Show child attributes
The date and time in ISO 8601 format, e.g. 2021-05-21T10:00:00Z
No Content