curl --request PATCH \
--url https://api.spacebring.com/plans/v1/{id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"plan": {
"access": {
"brivoGroupRef": 123,
"kisiGroupRef": 123,
"saltoksAccessGroupRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tapkeyGroupRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"credits": 123,
"customTax": {
"enabled": true,
"rate": 123
},
"dayPasses": 123,
"description": "<string>",
"discounts": {
"creditPackages": 123,
"desks": 123,
"events": 123,
"rooms": 123,
"shop": 123
},
"price": 123,
"printing": {
"ezeepBlueGroupRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"selfSignup": {
"enabled": true,
"type": "immediate"
},
"title": "<string>"
}
}
'{
"message": "<string>",
"type": "<string>"
}Update a certain plan.
planscurl --request PATCH \
--url https://api.spacebring.com/plans/v1/{id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"plan": {
"access": {
"brivoGroupRef": 123,
"kisiGroupRef": 123,
"saltoksAccessGroupRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tapkeyGroupRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"credits": 123,
"customTax": {
"enabled": true,
"rate": 123
},
"dayPasses": 123,
"description": "<string>",
"discounts": {
"creditPackages": 123,
"desks": 123,
"events": 123,
"rooms": 123,
"shop": 123
},
"price": 123,
"printing": {
"ezeepBlueGroupRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"selfSignup": {
"enabled": true,
"type": "immediate"
},
"title": "<string>"
}
}
'{
"message": "<string>",
"type": "<string>"
}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 plan.
Show child attributes
No Content