PATCH
/
plans
/
v1
/
{id}
Update a plan
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>"
  }
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

See our authentication documentation for how to authorize your requests

Headers

spacebring-network-id
string<uuid>

The id of the network. Required when using bearer token authentication

Path Parameters

id
string<uuid>
required

The id of the plan.

Body

application/json

Response

204

No Content