Scalr Global Variables API
The Global Variables API from Scalr — 6 operation(s) for global variables.
The Global Variables API from Scalr — 6 operation(s) for global variables.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/scalr-global-variables-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
description: Manage Roles, Images, Environments and etc.
title: Scalr Account Acl Roles Global Variables API
version: 1.0.0
servers:
- url: /api/v1beta0/account
tags:
- name: Global Variables
paths:
/{accountId}/global-variables/:
parameters:
- description: The ID of the Account scoping this request.
in: path
name: accountId
required: true
schema:
type: integer
get:
description: List Global Variables declared in account scope.
responses:
200:
description: A list of GlobalVariable objects.
content:
application/json:
schema:
$ref: '#/components/schemas/GlobalVariableListResponse'
400:
description: A client-side error was made.
x-errorCodes:
- description: The request was structurally incorrect, and was not understood by the API.
name: InvalidStructure
- description: The request was understood by the API, but included invalid data.
name: InvalidValue
- description: The request wasn't understood by the API.
name: BadRequest
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
401:
description: The request was not authenticated.
x-errorCodes:
- description: The request was not properly authenticated.
name: BadAuthentication
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
403:
description: Insufficient permissions.
x-errorCodes:
- description: This request should be made in a different Scope.
name: ScopeViolation
- description: You do not have the necessary permissions to perform this request.
name: PermissionViolation
- description: The maximum memory limit in GB has been reached.
name: MemoryQuotaExceeded
- description: The vCPUs limit has been reached.
name: VcpusQuotaExceeded
- description: The maximum number of the Servers that you can launch or resume has been reached.
name: ServersQuotaExceeded
- description: The maximum number of the Servers that you can launch or resume on current Farm has been reached.
name: ServersPerFarmQuotaExceeded
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
404:
description: Resource not found.
x-errorCodes:
- description: This endpoint does not exist.
name: EndpointNotFound
noDoc: true
- description: The object you are trying to access does not exist.
name: ObjectNotFound
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
409:
description: Conflict with current state.
x-errorCodes:
- description: These changes aren't possible while this object is in use.
name: ObjectInUse
- description: These changes would violate a policy.
name: PolicyViolation
- description: These changes would violate a unicity constraint.
name: UnicityViolation
- description: Some of the objects being changed are locked and cannot be changed.
name: Locked
- description: This Cloud platform is not enabled.
name: NotEnabledPlatform
- description: The Operating System does not match.
name: OperatingSystemMismatch
- description: Some of these settings cannot be applied, they either conflict with the current state or are invalid.
name: UnacceptableObjectConfiguration
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
422:
description: This request was well-formed but was rejected due to semantic errors.
x-errorCodes:
- description: Some of the configuration settings cannot be applied because they conflict with the current state.
name: ConfigurationMismatch
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
500:
description: A server-side error occurred.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
501:
description: This feature is not implemented in Scalr.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
503:
description: The service is currently unavailable.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
tags:
- Global Variables
post:
description: Declare a new Global Variable for this account scope.
responses:
201:
description: The JSON representation of a GlobalVariable object.
content:
application/json:
schema:
$ref: '#/components/schemas/GlobalVariableDetailsResponse'
400:
description: A client-side error was made.
x-errorCodes:
- description: The request was structurally incorrect, and was not understood by the API.
name: InvalidStructure
- description: The request was understood by the API, but included invalid data.
name: InvalidValue
- description: The request wasn't understood by the API.
name: BadRequest
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
401:
description: The request was not authenticated.
x-errorCodes:
- description: The request was not properly authenticated.
name: BadAuthentication
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
403:
description: Insufficient permissions.
x-errorCodes:
- description: This request should be made in a different Scope.
name: ScopeViolation
- description: You do not have the necessary permissions to perform this request.
name: PermissionViolation
- description: The maximum memory limit in GB has been reached.
name: MemoryQuotaExceeded
- description: The vCPUs limit has been reached.
name: VcpusQuotaExceeded
- description: The maximum number of the Servers that you can launch or resume has been reached.
name: ServersQuotaExceeded
- description: The maximum number of the Servers that you can launch or resume on current Farm has been reached.
name: ServersPerFarmQuotaExceeded
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
404:
description: Resource not found.
x-errorCodes:
- description: This endpoint does not exist.
name: EndpointNotFound
noDoc: true
- description: The object you are trying to access does not exist.
name: ObjectNotFound
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
409:
description: Conflict with current state.
x-errorCodes:
- description: These changes aren't possible while this object is in use.
name: ObjectInUse
- description: These changes would violate a policy.
name: PolicyViolation
- description: These changes would violate a unicity constraint.
name: UnicityViolation
- description: Some of the objects being changed are locked and cannot be changed.
name: Locked
- description: This Cloud platform is not enabled.
name: NotEnabledPlatform
- description: The Operating System does not match.
name: OperatingSystemMismatch
- description: Some of these settings cannot be applied, they either conflict with the current state or are invalid.
name: UnacceptableObjectConfiguration
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
422:
description: This request was well-formed but was rejected due to semantic errors.
x-errorCodes:
- description: Some of the configuration settings cannot be applied because they conflict with the current state.
name: ConfigurationMismatch
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
500:
description: A server-side error occurred.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
501:
description: This feature is not implemented in Scalr.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
503:
description: The service is currently unavailable.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
tags:
- Global Variables
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/GlobalVariable'
description: The JSON representation of a GlobalVariable object.
required: true
/{accountId}/global-variables/{globalVariableName}/:
parameters:
- description: The ID of the Account scoping this request.
in: path
name: accountId
required: true
schema:
type: integer
- description: The name of the Global Variable being accessed.
in: path
name: globalVariableName
required: true
schema:
type: string
maxLength: 128
minLength: 2
pattern: \w+
delete:
description: Delete a Global Variable from account scope.
responses:
204:
description: Successful deletion.
400:
description: A client-side error was made.
x-errorCodes:
- description: The request was structurally incorrect, and was not understood by the API.
name: InvalidStructure
- description: The request was understood by the API, but included invalid data.
name: InvalidValue
- description: The request wasn't understood by the API.
name: BadRequest
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
401:
description: The request was not authenticated.
x-errorCodes:
- description: The request was not properly authenticated.
name: BadAuthentication
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
403:
description: Insufficient permissions.
x-errorCodes:
- description: This request should be made in a different Scope.
name: ScopeViolation
- description: You do not have the necessary permissions to perform this request.
name: PermissionViolation
- description: The maximum memory limit in GB has been reached.
name: MemoryQuotaExceeded
- description: The vCPUs limit has been reached.
name: VcpusQuotaExceeded
- description: The maximum number of the Servers that you can launch or resume has been reached.
name: ServersQuotaExceeded
- description: The maximum number of the Servers that you can launch or resume on current Farm has been reached.
name: ServersPerFarmQuotaExceeded
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
404:
description: Resource not found.
x-errorCodes:
- description: This endpoint does not exist.
name: EndpointNotFound
noDoc: true
- description: The object you are trying to access does not exist.
name: ObjectNotFound
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
409:
description: Conflict with current state.
x-errorCodes:
- description: These changes aren't possible while this object is in use.
name: ObjectInUse
- description: These changes would violate a policy.
name: PolicyViolation
- description: These changes would violate a unicity constraint.
name: UnicityViolation
- description: Some of the objects being changed are locked and cannot be changed.
name: Locked
- description: This Cloud platform is not enabled.
name: NotEnabledPlatform
- description: The Operating System does not match.
name: OperatingSystemMismatch
- description: Some of these settings cannot be applied, they either conflict with the current state or are invalid.
name: UnacceptableObjectConfiguration
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
422:
description: This request was well-formed but was rejected due to semantic errors.
x-errorCodes:
- description: Some of the configuration settings cannot be applied because they conflict with the current state.
name: ConfigurationMismatch
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
500:
description: A server-side error occurred.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
501:
description: This feature is not implemented in Scalr.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
503:
description: The service is currently unavailable.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
tags:
- Global Variables
get:
description: Retrieve detailed information about a Global Variable declared in account scope.
responses:
200:
description: The JSON representation of a GlobalVariable object.
content:
application/json:
schema:
$ref: '#/components/schemas/GlobalVariableDetailsResponse'
400:
description: A client-side error was made.
x-errorCodes:
- description: The request was structurally incorrect, and was not understood by the API.
name: InvalidStructure
- description: The request was understood by the API, but included invalid data.
name: InvalidValue
- description: The request wasn't understood by the API.
name: BadRequest
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
401:
description: The request was not authenticated.
x-errorCodes:
- description: The request was not properly authenticated.
name: BadAuthentication
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
403:
description: Insufficient permissions.
x-errorCodes:
- description: This request should be made in a different Scope.
name: ScopeViolation
- description: You do not have the necessary permissions to perform this request.
name: PermissionViolation
- description: The maximum memory limit in GB has been reached.
name: MemoryQuotaExceeded
- description: The vCPUs limit has been reached.
name: VcpusQuotaExceeded
- description: The maximum number of the Servers that you can launch or resume has been reached.
name: ServersQuotaExceeded
- description: The maximum number of the Servers that you can launch or resume on current Farm has been reached.
name: ServersPerFarmQuotaExceeded
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
404:
description: Resource not found.
x-errorCodes:
- description: This endpoint does not exist.
name: EndpointNotFound
noDoc: true
- description: The object you are trying to access does not exist.
name: ObjectNotFound
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
409:
description: Conflict with current state.
x-errorCodes:
- description: These changes aren't possible while this object is in use.
name: ObjectInUse
- description: These changes would violate a policy.
name: PolicyViolation
- description: These changes would violate a unicity constraint.
name: UnicityViolation
- description: Some of the objects being changed are locked and cannot be changed.
name: Locked
- description: This Cloud platform is not enabled.
name: NotEnabledPlatform
- description: The Operating System does not match.
name: OperatingSystemMismatch
- description: Some of these settings cannot be applied, they either conflict with the current state or are invalid.
name: UnacceptableObjectConfiguration
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
422:
description: This request was well-formed but was rejected due to semantic errors.
x-errorCodes:
- description: Some of the configuration settings cannot be applied because they conflict with the current state.
name: ConfigurationMismatch
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
500:
description: A server-side error occurred.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
501:
description: This feature is not implemented in Scalr.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
503:
description: The service is currently unavailable.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
tags:
- Global Variables
patch:
description: Modify the attributes of a Global Variable declared in account scope.
responses:
200:
description: The JSON representation of a GlobalVariable object.
content:
application/json:
schema:
$ref: '#/components/schemas/GlobalVariableDetailsResponse'
400:
description: A client-side error was made.
x-errorCodes:
- description: The request was structurally incorrect, and was not understood by the API.
name: InvalidStructure
- description: The request was understood by the API, but included invalid data.
name: InvalidValue
- description: The request wasn't understood by the API.
name: BadRequest
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
401:
description: The request was not authenticated.
x-errorCodes:
- description: The request was not properly authenticated.
name: BadAuthentication
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
403:
description: Insufficient permissions.
x-errorCodes:
- description: This request should be made in a different Scope.
name: ScopeViolation
- description: You do not have the necessary permissions to perform this request.
name: PermissionViolation
- description: The maximum memory limit in GB has been reached.
name: MemoryQuotaExceeded
- description: The vCPUs limit has been reached.
name: VcpusQuotaExceeded
- description: The maximum number of the Servers that you can launch or resume has been reached.
name: ServersQuotaExceeded
- description: The maximum number of the Servers that you can launch or resume on current Farm has been reached.
name: ServersPerFarmQuotaExceeded
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
404:
description: Resource not found.
x-errorCodes:
- description: This endpoint does not exist.
name: EndpointNotFound
noDoc: true
- description: The object you are trying to access does not exist.
name: ObjectNotFound
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
409:
description: Conflict with current state.
x-errorCodes:
- description: These changes aren't possible while this object is in use.
name: ObjectInUse
- description: These changes would violate a policy.
name: PolicyViolation
- description: These changes would violate a unicity constraint.
name: UnicityViolation
- description: Some of the objects being changed are locked and cannot be changed.
name: Locked
- description: This Cloud platform is not enabled.
name: NotEnabledPlatform
- description: The Operating System does not match.
name: OperatingSystemMismatch
- description: Some of these settings cannot be applied, they either conflict with the current state or are invalid.
name: UnacceptableObjectConfiguration
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
422:
description: This request was well-formed but was rejected due to semantic errors.
x-errorCodes:
- description: Some of the configuration settings cannot be applied because they conflict with the current state.
name: ConfigurationMismatch
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
500:
description: A server-side error occurred.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
501:
description: This feature is not implemented in Scalr.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
503:
description: The service is currently unavailable.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
tags:
- Global Variables
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/GlobalVariable'
description: The JSON representation of a GlobalVariable object.
required: true
/global-variables/:
get:
description: List Global Variables declared in global scope.
responses:
200:
description: A list of GlobalVariable objects.
content:
application/json:
schema:
$ref: '#/components/schemas/GlobalVariableListResponse_2'
400:
description: A client-side error was made.
x-errorCodes:
- description: The request was structurally incorrect, and was not understood by the API.
name: InvalidStructure
- description: The request was understood by the API, but included invalid data.
name: InvalidValue
- description: The request wasn't understood by the API.
name: BadRequest
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse_2'
401:
description: The request was not authenticated.
x-errorCodes:
- description: The request was not properly authenticated.
name: BadAuthentication
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse_2'
403:
description: Insufficient permissions.
x-errorCodes:
- description: This request should be made in a different Scope.
name: ScopeViolation
- description: You do not have the necessary permissions to perform this request.
name: PermissionViolation
- description: The maximum memory limit in GB has been reached.
name: MemoryQuotaExceeded
- description: The vCPUs limit has been reached.
name: VcpusQuotaExceeded
- description: The maximum number of the Servers that you can launch or resume has been reached.
name: ServersQuotaExceeded
- description: The maximum number of the Servers that you can launch or resume on current Farm has been reached.
name: ServersPerFarmQuotaExceeded
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse_2'
404:
description: Resource not found.
x-errorCodes:
- description: This endpoint does not exist.
name: EndpointNotFound
noDoc: true
- description: The object you are trying to access does not exist.
name: ObjectNotFound
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse_2'
409:
description: Conflict with current state.
x-errorCodes:
- description: These changes aren't possible while this object is in use.
name: ObjectInUse
- description: These changes would violate a policy.
name: PolicyViolation
- description: These changes would violate a unicity constraint.
name: UnicityViolation
- description: Some of the objects being changed are locked and cannot be changed.
name: Locked
- description: This Cloud platform is not enabled.
name: NotEnabledPlatform
- description: The Operating System does not match.
name: OperatingSystemMismatch
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse_2'
422:
description: This request was well-formed but was rejected due to semantic errors.
x-errorCodes:
- description: Some of the configuration settings cannot be applied because they conflict with the current state.
name: ConfigurationMismatch
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse_2'
500:
description: A server-side error occurred.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse_2'
501:
description: This feature is not implemented in Scalr.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse_2'
503:
description: The service is currently unavailable.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse_2'
tags:
- Global Variables
post:
description: Declare a new Global Variable for this global scope.
responses:
201:
description: The JSON representation of a GlobalVariable object.
content:
application/json:
schema:
$ref: '#/components/schemas/GlobalVariableDetailsResponse_2'
400:
description: A client-side error was made.
x-errorCodes:
- description: The request was structurally incorrect, and was not understood by the API.
name: InvalidStructure
- description: The request was understood by the API, but included invalid data.
name: InvalidValue
- description: The request wasn't understood by the API.
name: BadRequest
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse_2'
401:
description: The request was not authenticated.
x-errorCodes:
- description: The request was not properly authenticated.
name: BadAuthentication
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse_2'
403:
description: Insufficient permissions.
x-errorCodes:
- description: This request should be made in a different Scope.
name: ScopeViolation
- description: You do not have the necessary permissions to perform this request.
name: PermissionViolation
- description: The maximum memory limit in GB has been reached.
name: MemoryQuotaExceeded
- description: The vCPUs limit has been reached.
name: VcpusQuotaExceeded
- description: The maximum number of the Servers that you can launch or resume has been reached.
name: ServersQuotaExceeded
- description: The maximum number of the Servers that you can launch or resume on current Farm has been reached.
name: ServersPerFarmQuotaExceeded
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse_2'
404:
description: Resource not found.
x-errorCodes:
- description: This endpoint does not exist.
name: EndpointNotFound
noDoc: true
- description: The object you are trying to access does not exist.
name: ObjectNotFound
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse_2'
409:
description: Conflict with current state.
x-errorCodes:
- description: These changes aren't possible while this object is in use.
name: ObjectInUse
- description: These changes would violate a policy.
name: PolicyViolation
- description: These changes would violate a unicity constraint
# --- truncated at 32 KB (111 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/scalr/refs/heads/main/openapi/scalr-global-variables-api-openapi.yml