Organizations
Organizations
Manage organizational sub-units (faculties, departments, campuses) within an institution.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Manage organizational sub-units (faculties, departments, campuses) within an institution.
{
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "School of Engineering",
"code": "ENG",
"institution": {
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"name": "Federal University of Technology"
},
"created_at": "2024-01-15T10:00:00.000000Z"
}
| Field | Type | Description |
|---|---|---|
uuid | string | Unique identifier |
name | string | Organization name |
code | string | Short code for internal reference |
institution | object | The parent institution |
GET /organizations
curl https://api.dokstamp.com/organizations \
-H "Authorization: Bearer {TOKEN}" \
-H "Accept: application/json" \
-H "X-Tenant: {TENANT}"
POST /organizations
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Organization name |
institution_uuid | string | Yes | Parent institution UUID |
code | string | No | Short reference code |
curl -X POST https://api.dokstamp.com/organizations \
-H "Authorization: Bearer {TOKEN}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "X-Tenant: {TENANT}" \
-d '{
"name": "School of Engineering",
"code": "ENG",
"institution_uuid": "550e8400-e29b-41d4-a716-446655440000"
}'
GET /organizations/{uuid}
PATCH /organizations/{uuid}
PUT /organizations/{uuid}
DELETE /organizations/{uuid}
DELETE /organizations/batch/destroy