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