Get a variable
Get a variable by its ID.
Path Parameters
The ID of the variable to get. Must match the pattern (^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$)|(^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)|(^[0-9a-f]{32}$)
.
Responses
200 OK response.
The ID of the component the variable belongs to. Must match the pattern (^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$)|(^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)|(^[0-9a-f]{32}$)
.
The time the variable was created.
The ID of the environment the variable belongs to. Must match the pattern (^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$)|(^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)|(^[0-9a-f]{32}$)
.
The ID of the variable. Must match the pattern (^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$)|(^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)|(^[0-9a-f]{32}$)
.
The name of the variable.
The resource ID of the variable.
The storage method for the variable. One of secret
, secure_string
, string
.
The time the variable was last updated.
400 Bad Request response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
401 Unauthorized response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
403 Forbidden response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
404 Not Found response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
408 Request Timeout response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
409 Conflict response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
429 Too Many Requests response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
500 Internal Server Error response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
501 Not Implemented response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
Update a variable
Update a variable by its ID.
Path Parameters
The ID of the variable to delete. Must match the pattern (^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$)|(^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)|(^[0-9a-f]{32}$)
.
Request Body
Important note
PUT
requests are used to replace an existing resource.
The request body should contain the full representation of the
resource, including any fields that are not being updated.
Must match the pattern ^[A-Za-z_][\w]*$
.
One of secret
, secure_string
, string
.
Responses
200 OK response.
The ID of the component the variable belongs to. Must match the pattern (^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$)|(^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)|(^[0-9a-f]{32}$)
.
The time the variable was created.
The ID of the environment the variable belongs to. Must match the pattern (^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$)|(^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)|(^[0-9a-f]{32}$)
.
The ID of the variable. Must match the pattern (^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$)|(^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)|(^[0-9a-f]{32}$)
.
The name of the variable.
The resource ID of the variable.
The storage method for the variable. One of secret
, secure_string
, string
.
The time the variable was last updated.
400 Bad Request response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
401 Unauthorized response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
403 Forbidden response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
404 Not Found response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
408 Request Timeout response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
409 Conflict response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
429 Too Many Requests response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
500 Internal Server Error response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
501 Not Implemented response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
Delete a variable
Delete a variable by its ID.
Path Parameters
The ID of the variable to delete. Must match the pattern (^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$)|(^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)|(^[0-9a-f]{32}$)
.
Responses
204
400 Bad Request response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
401 Unauthorized response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
403 Forbidden response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
404 Not Found response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
408 Request Timeout response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
409 Conflict response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
429 Too Many Requests response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
500 Internal Server Error response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
501 Not Implemented response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
Get a variable's decrypted value
Get the decrypted current value for a variable by its ID.
Path Parameters
The ID of the variable to get. Must match the pattern (^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$)|(^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)|(^[0-9a-f]{32}$)
.
Responses
200 OK response.
400 Bad Request response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
401 Unauthorized response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
403 Forbidden response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
404 Not Found response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
408 Request Timeout response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
409 Conflict response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
429 Too Many Requests response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
500 Internal Server Error response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
501 Not Implemented response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
List variables in a component
List all of the variables for a component.
Path Parameters
The component ID to scope the variable to. Must match the pattern (^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$)|(^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)|(^[0-9a-f]{32}$)
.
Query Parameters
A base64 encoded cursor that can be used to paginate results. Must match the pattern ^[\w-+/=]+$
.
The maximum number of results to return. Must be between 1
and 240
.
A base64 encoded cursor that can be used to paginate results. One of created_at
, -created_at
, +created_at
, created_at
.
Responses
200 OK response.
An array of results.
Show attributes
The ID of the component the variable belongs to. Must match the pattern (^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$)|(^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)|(^[0-9a-f]{32}$)
.
The time the variable was created.
The ID of the environment the variable belongs to. Must match the pattern (^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$)|(^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)|(^[0-9a-f]{32}$)
.
The ID of the variable. Must match the pattern (^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$)|(^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)|(^[0-9a-f]{32}$)
.
The name of the variable.
The resource ID of the variable.
The storage method for the variable. One of secret
, secure_string
, string
.
The time the variable was last updated.
Whether there are more results available.
The cursor for the next page of results as a base64 encoded string. Must match the pattern ^[a-zA-Z0-9+/=]+$
.
400 Bad Request response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
401 Unauthorized response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
403 Forbidden response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
404 Not Found response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
408 Request Timeout response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
409 Conflict response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
429 Too Many Requests response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
500 Internal Server Error response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
501 Not Implemented response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
Create a variable in a component
Create a new variable scoped to a component.
Path Parameters
The service ID to scope the variable to. Must match the pattern (^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$)|(^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)|(^[0-9a-f]{32}$)
.
Request Body
Must match the pattern ^[A-Za-z_][\w]*$
.
One of secret
, secure_string
, string
.
Responses
201 Created response.
The ID of the component the variable belongs to. Must match the pattern (^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$)|(^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)|(^[0-9a-f]{32}$)
.
The time the variable was created.
The ID of the environment the variable belongs to. Must match the pattern (^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$)|(^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)|(^[0-9a-f]{32}$)
.
The ID of the variable. Must match the pattern (^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$)|(^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)|(^[0-9a-f]{32}$)
.
The name of the variable.
The resource ID of the variable.
The storage method for the variable. One of secret
, secure_string
, string
.
The time the variable was last updated.
400 Bad Request response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
401 Unauthorized response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
403 Forbidden response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
404 Not Found response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
408 Request Timeout response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
409 Conflict response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
429 Too Many Requests response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
500 Internal Server Error response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
501 Not Implemented response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
List variables in an environment
List all of the variables for an environment.
Path Parameters
The environment ID to scope the variable to. Must match the pattern (^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$)|(^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)|(^[0-9a-f]{32}$)
.
Query Parameters
A base64 encoded cursor that can be used to paginate results. Must match the pattern ^[\w-+/=]+$
.
The maximum number of results to return. Must be between 1
and 240
.
A base64 encoded cursor that can be used to paginate results. One of created_at
, -created_at
, +created_at
, created_at
.
Responses
200 OK response.
An array of results.
Show attributes
The ID of the component the variable belongs to. Must match the pattern (^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$)|(^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)|(^[0-9a-f]{32}$)
.
The time the variable was created.
The ID of the environment the variable belongs to. Must match the pattern (^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$)|(^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)|(^[0-9a-f]{32}$)
.
The ID of the variable. Must match the pattern (^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$)|(^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)|(^[0-9a-f]{32}$)
.
The name of the variable.
The resource ID of the variable.
The storage method for the variable. One of secret
, secure_string
, string
.
The time the variable was last updated.
Whether there are more results available.
The cursor for the next page of results as a base64 encoded string. Must match the pattern ^[a-zA-Z0-9+/=]+$
.
400 Bad Request response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
401 Unauthorized response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
403 Forbidden response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
404 Not Found response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
408 Request Timeout response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
409 Conflict response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
429 Too Many Requests response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
500 Internal Server Error response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
501 Not Implemented response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
Create a variable in an environment
Create a new variable scoped to an environment.
Path Parameters
The environment ID to scope the variable to. Must match the pattern (^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$)|(^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)|(^[0-9a-f]{32}$)
.
Request Body
Must match the pattern ^[A-Za-z_][\w]*$
.
One of secret
, secure_string
, string
.
Responses
201 Created response.
The ID of the component the variable belongs to. Must match the pattern (^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$)|(^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)|(^[0-9a-f]{32}$)
.
The time the variable was created.
The ID of the environment the variable belongs to. Must match the pattern (^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$)|(^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)|(^[0-9a-f]{32}$)
.
The ID of the variable. Must match the pattern (^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$)|(^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)|(^[0-9a-f]{32}$)
.
The name of the variable.
The resource ID of the variable.
The storage method for the variable. One of secret
, secure_string
, string
.
The time the variable was last updated.
400 Bad Request response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
401 Unauthorized response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
403 Forbidden response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
404 Not Found response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
408 Request Timeout response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
409 Conflict response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
429 Too Many Requests response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
500 Internal Server Error response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
501 Not Implemented response.
The cause of the error.
The code of the error. One of bad_input
, forbidden
, unauthenticated
, unauthorized
, not_implemented
, internal
, not_found
, conflict
, timeout
, rate
.
The message of the error.
API Reference
Explore the API reference by resource type