Environments
Update Organization Environment
Changed onUpdate an organization environment’s title, description, color or order. The key slug is frozen at create time — renaming the title never re-derives it. The built-in environments (production / staging) cannot be edited.
Requires Org Owner role. Available on cloud-hosted plans with organizations.
Note: Environment APIs are available only with self-hosted Enterprise plans and cloud-hosted plans. Creating custom environments requires a plan that includes the custom-environments feature.
patch/api/v3/meta/orgs/{orgId}/environments/{environmentId}
Request
- Base URLhttps://app.nocodb.com
- Auth
- API key in header xc-token
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
orgIdstring required
Organization ID
environmentIdstring required
Environment ID
Request body
Example request
{
"title": "QA Renamed",
"description": "Pre-release verification",
"color": "#c2410c",
"order": 1
}Response
Updated environment
Example response
{
"id": "envabc12345",
"key": "qa",
"title": "QA",
"description": "Pre-release verification",
"color": "#6A7184",
"workspace_id": "w6dw3fo0",
"org_id": "org123",
"created_by": "usr1234567"
}Changes
- info
endpoint added
- info