Tenant
Authorizations
AuthorizationstringRequired
Bearer authentication
Responses
200
The complete set of tenant settings.
application/json
activebooleanOptionalExample:
truecategorystringOptionalExample:
DepartmentdescriptionstringOptionalExample:
Enable the department featuresourcestringOptionalExample:
TenantlabelstringOptionalExample:
Show departmentsstagestringOptionalExample:
BetatypestringOptionalExample:
BooleankeystringOptionalExample:
department.usevaluestringOptionalExample:
true401
Unauthorized
application/json
403
Forbidden
application/json
500
unexpected error
application/json
503
unexpected error
application/json
get/v1/k8s/setting
GET /v1/k8s/setting HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[]Authorizations
AuthorizationstringRequired
Bearer authentication
Body
keystringOptionalExample:
department.usevalueanyOptionalExample:
trueResponses
200
The updated tenant setting.
application/json
msgstringOptionalExample:
done400
Bad request.
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
The specified resource was not found
application/json
500
unexpected error
application/json
503
unexpected error
application/json
put/v1/k8s/setting
PUT /v1/k8s/setting HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 37
{
"key": "department.use",
"value": true
}{
"msg": "done"
}Authorizations
AuthorizationstringRequired
Bearer authentication
Path parameters
settingKeystringRequired
Responses
200
The requested setting.
application/json
booleanOptional
A boolean value that indicates if the requested setting is enabled.
401
Unauthorized
application/json
403
Forbidden
application/json
500
unexpected error
application/json
503
unexpected error
application/json
get/v1/k8s/setting/{settingKey}
GET /v1/k8s/setting/{settingKey} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
trueLast updated