Skip to main content
PATCH
/
disciplines
/
{id}
Update a discipline
curl --request PATCH \
  --url https://www.ruddr.io/api/workspace/disciplines/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "isActive": true
}
'
{ "id": "a3f8c2d1-7e04-4b9a-8c56-1d2e3f4a5b6c", "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.

Path Parameters

id
string
required

The discipline uuid.

Body

application/json
name
string

The name of the discipline. Maximum 255 characters.

isActive
boolean

Whether the discipline is active.

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.