Settings
Authorizations
AuthorizationstringRequired
Bearer authentication
Query parameters
tenantIdstringOptionalDefault:
If exists will return the relevant resource for the tenant ID
""Example: 1008Responses
200
Executed successfully.
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
500
unexpected error
application/json
503
unexpected error
application/json
get/api/v1/security/settings
GET /api/v1/security/settings HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"autoRedirectSSO": {
"value": {
"enabled": false,
"idpAlias": "oidc"
},
"displayName": "Auto Redirect SSO",
"description": "Automatically redirect users to the SSO login page after logging in to the application"
},
"browserSessionTimeout": {
"value": {
"idleTimeout": 0
},
"displayName": "Browser Session Timeout",
"description": "The idle timeout duration in minutes for browser sessions"
},
"logoutRedirectUri": {
"value": {
"uri": "https://example.com/logout-success"
},
"displayName": "Logout Redirect URI",
"description": "The URI where users will be redirected after logging out of the application"
}
}Authorizations
AuthorizationstringRequired
Bearer authentication
Path parameters
keystring · enumRequiredPossible values:
The settings key
Query parameters
tenantIdstringOptionalDefault:
If exists will return the relevant resource for the tenant ID
""Example: 1008Responses
200
Executed successfully.
application/json
Other propertiesanyOptional
400
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
get/api/v1/security/settings/{key}
GET /api/v1/security/settings/{key} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"value": {
"enabled": false,
"idpAlias": "oidc"
},
"displayName": "Auto Redirect SSO",
"description": "Automatically redirect users to the SSO login page after logging in to the application"
}Authorizations
AuthorizationstringRequired
Bearer authentication
Path parameters
keystring · enumRequiredPossible values:
The settings key
Query parameters
tenantIdstringOptionalDefault:
If exists will return the relevant resource for the tenant ID
""Example: 1008Body
or
or
Responses
200
Setting successfully updated
No content
400
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/api/v1/security/settings/{key}
PUT /api/v1/security/settings/{key} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 35
{
"enabled": false,
"idpAlias": "oidc"
}No content
Last updated