curl --url http://localhost:8080/api/v2/environments/{environmentKey}/namespaces \
--header 'Accept: application/json'
{
"items": [
{
"key": "<string>",
"name": "<string>",
"description": "<string>",
"protected": true
}
],
"revision": "<string>"
}Namespaces
List Namespaces
List all namespaces in an environment.
GET
/
api
/
v2
/
environments
/
{environmentKey}
/
namespaces
curl --url http://localhost:8080/api/v2/environments/{environmentKey}/namespaces \
--header 'Accept: application/json'
{
"items": [
{
"key": "<string>",
"name": "<string>",
"description": "<string>",
"protected": true
}
],
"revision": "<string>"
}curl --url http://localhost:8080/api/v2/environments/{environmentKey}/namespaces \
--header 'Accept: application/json'
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
the environment identifier, e.g. 'production'.
Was this page helpful?