Skip to content

Replace the page's programs​

PUT
/org-admin/{slug}/programs

org.update_settings. The ordered list, up to 12; a row with its id keeps it. Audited as organization.programs_updated.

Authorizations​

BearerAuth

In the browser, authentication rides on the httpOnly session cookies set by /cognito/signin or the Google / Apple sign-in at /cognito/oauth/{provider}. For scripts and for Swagger UI testing, paste an API key (fh_live_…, created with POST /api-keys); a Cognito JWT is accepted too. Sign-in does not return a token in its body.

Type
HTTP (bearer)

Parameters​

Path Parameters

slug*

The organization's slug (requireOrgPermission resolves it).

Type
string
Required

Request Body​

application/json
JSON
{
"programs": [
{
"id": "string",
"title": "string",
"description": "string",
"icon": "string"
}
]
}

Responses​

OK

application/json
JSON
{
"data": [
],
"max": 0
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI

Built with VitePress