curl --request PUT \
--url https://api.ctrl-hub.com/v3/training-standards/{training_standard_id} \
--header 'Content-Type: application/vnd.api+json' \
--header 'X-Session-Token: <api-key>' \
--data '
{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"attributes": {
"status": "ingested",
"renewal_period_months": 123
},
"relationships": {}
}
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"attributes": {
"title": "<string>",
"status": "ingested",
"provenance": "citb",
"grant_ts_code": "<string>",
"occupational_area": "<string>",
"product_type": "Recognised",
"url": "<string>",
"citb_status": "Published",
"grant_tier": "<string>",
"grant_amount_pence": 123,
"renewal_period_months": 123,
"last_updated_at": "2023-11-07T05:31:56Z",
"last_synced_at": "2023-11-07T05:31:56Z"
},
"meta": {
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"relationships": {
"standards_body": {
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>"
}
},
"categories": {
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>"
}
]
}
}
},
"jsonapi": {
"version": "<string>"
},
"included": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"attributes": {
"name": "<string>",
"provenance": "citb",
"acronym": "<string>",
"website": "<string>"
}
}
]
}Update admin-managed fields on a training standard (status, renewal period, categories). Fields sourced from the standards body (title, code, etc.) are managed by the sync pipeline.
curl --request PUT \
--url https://api.ctrl-hub.com/v3/training-standards/{training_standard_id} \
--header 'Content-Type: application/vnd.api+json' \
--header 'X-Session-Token: <api-key>' \
--data '
{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"attributes": {
"status": "ingested",
"renewal_period_months": 123
},
"relationships": {}
}
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"attributes": {
"title": "<string>",
"status": "ingested",
"provenance": "citb",
"grant_ts_code": "<string>",
"occupational_area": "<string>",
"product_type": "Recognised",
"url": "<string>",
"citb_status": "Published",
"grant_tier": "<string>",
"grant_amount_pence": 123,
"renewal_period_months": 123,
"last_updated_at": "2023-11-07T05:31:56Z",
"last_synced_at": "2023-11-07T05:31:56Z"
},
"meta": {
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"relationships": {
"standards_body": {
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>"
}
},
"categories": {
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>"
}
]
}
}
},
"jsonapi": {
"version": "<string>"
},
"included": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"attributes": {
"name": "<string>",
"provenance": "citb",
"acronym": "<string>",
"website": "<string>"
}
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.ctrl-hub.com/llms.txt
Use this file to discover all available pages before exploring further.
Session token for authentication.
The unique identifier for the training standard.
The training standard fields to update. Only admin-managed fields can be changed — synced fields are overwritten by the sync pipeline.
Show child attributes
Get a training standard.