cURL
curl --request POST \ --url https://sandbox.withclasp.com/subclasses \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "category": "department", "name": "<string>" }'
{ "id": "<string>", "category": "department", "name": "<string>" }
Defines the details of a subclass.
API Key authentication with required prefix "Bearer"
The response is of type object.
object