cURL
curl --request PUT \ --url https://api.spacebring.com/benefits/categories/v1/{id} \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "category": { "title": "<string>" } } '
{ "category": { "createDate": "2023-11-07T05:31:56Z", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "networkRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "title": "<string>" } }
Update a benefit category.
benefits
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 benefit category
Show child attributes
The title of the benefit category
OK
The date and time in ISO 8601 format, e.g. 2021-05-21T10:00:00Z