cURL
curl --request POST \ --url https://api.perscom.io/{version}/categories \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "resource": "<string>", "description": "<string>" } '
{ "data": { "name": "<string>", "resource": "<string>", "id": 123, "description": "<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
awards
documents
forms
qualifications
ranks
The name of the category.
255
The resource type this category is associated with.
A description of the category. Supports HTML.
65535
OK
Show child attributes
The date the resource was created. Stored in UTC.
The date the resource was updated. Stored in UTC.
Was this page helpful?