Skip to main content
POST
/
disciplines
Create a discipline
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"
}
A grouping of common capabilities within the organization.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

The name of the discipline. Maximum 255 characters.

isActive
boolean

Whether the discipline is active. Defaults to true if not provided.

Response

200

id
string

The unique identifier for the object.

name
string

The name of the discipline.

isActive
boolean

Whether the discipline is active.

createdAt
string<date-time>

The timestamp when the object was created.