cURL
curl --request POST \ --url https://www.ruddr.io/api/workspace/disciplines \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "isActive": true } '
{ "id": "b7d1e4f2-3a09-4c8b-9d72-5e6f7a8b9c0d", "name": "Software Engineering", "isActive": true, "createdAt": "2024-03-15T14:22:31.840Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The name of the discipline. Maximum 255 characters.
Whether the discipline is active. Defaults to true if not provided.
true
200
The unique identifier for the object.
The name of the discipline.
Whether the discipline is active.
The timestamp when the object was created.