Environment

Used to get and update the current Environment

Get environment

Get the current environment. The environment contains information about the settings and features enabled for the current instance.

SecurityNone or DevBrowser
Responses
200

Returns the environment.

400

Request was not successful

401

Request was not successful

get/v1/environment
Response samples
application/json
{
  • "auth_config": {
    },
  • "display_config": {
    },
  • "user_settings": {
    },
  • "organization_settings": {
    },
  • "maintenance_mode": true
}

Update environment

Update environment using request origin

SecurityNone or DevBrowser
Responses
200

Returns the environment.

400

Request was not successful

patch/v1/environment
Response samples
application/json
{
  • "auth_config": {
    },
  • "display_config": {
    },
  • "user_settings": {
    },
  • "organization_settings": {
    },
  • "maintenance_mode": true
}