cURL
curl --request PATCH \ --url https://api.perscom.io/{version}/units/batch \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "resources": { "{key}": { "name": "<string>", "description": "<string>", "order": 123, "hidden": false, "icon": "<string>" } } } '
{ "data": [ { "name": "<string>", "id": 123, "description": "<string>", "order": 123, "hidden": false, "icon": "<string>", "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
assignment_records
assignment_records.*
image
groups
groups.*
users
users.*
Show child attributes
Supports HTML.
Will be auto-calculated if nothing is provided.
A valid Heroicon.
OK
The date the resource was created. Stored in UTC.
The date the resource was updated. Stored in UTC.
Was this page helpful?