Skip to content

List all group variables

GET
/api/v4/groups/{id}/variables

Lists all variables for a specified group. Use the page and per_page pagination parameters to control the pagination of results.

id
required
string

The ID of a group or URL-encoded path of the group owned by the authenticated user

page
integer
default: 1 nullable

Current page number

Example
1
per_page
integer
default: 20 nullable

Number of items per page

Example
20

OK

Media type application/json
object
variable_type
string
key
string
value
string
hidden
boolean
protected
boolean
masked
boolean
raw
boolean
environment_scope
string
description
string
Example
{
"variable_type": "env_var",
"key": "TEST_VARIABLE_1",
"value": "TEST_1",
"environment_scope": "*",
"description": "This variable is being used for ..."
}

Bad Request

Not Found