cURL
curl --request PATCH \ --url https://api.perscom.io/{version}/users/{user}/status/{status} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "color": "<string>", "order": 123 }'
{ "data": { "id": 123, "name": "<string>", "color": "<string>", "order": 123, "label": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The API version to use.
v1
v2
OK
The response is of type object.
object
Was this page helpful?