Workspace

Rename variable

Rename a variable for a specific org.

patch/orgs/variables/{key}

Request

  • Base URL: https://api.useinvent.com
  • URL: https://api.useinvent.com/orgs/variables/{key}
  • Auth: HTTP bearer

Path parameters

keystring required

The key of the variable to rename.

Request body

keystring

The key of the org variable

valuestring

The value of the org variable

secretboolean

Indicates if the variable is a secret

Example request

{
  "secret": true
}

Response

The updated org variables.

keystring required

The key of the org variable

valuestring

The value of the org variable

secretboolean

Indicates if the variable is a secret

Example response

{
  "secret": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.