Returns all the Proxy keys in an account
OK
Bad request
Unauthenticated
Unauthorized
The specified resource was not found
Internal server error
{- "itemCount": 1,
- "pageCount": 100,
- "pageIndex": 0,
- "pageSize": 1,
- "version": 5,
- "proxyKeys": [
- {
- "createdAt": 0,
- "description": "This is a proxy key for production",
- "id": "31B0B299-7635-416D-9E99-CFCAA7ADABEA",
- "identifier": "ProxyKeyOne",
- "name": "Proxy Key One",
- "updatedAt": 0
}
]
}
Creates a Proxy Key in the account & org
Created
Bad request
Unauthenticated
Unauthorized
The specified resource was not found
The specified resource already exists
Internal server error
{- "description": "A description",
- "identifier": "MyProxyKey",
- "name": "My Proxy Key",
- "organizations": {
- "org123": {
- "projects": {
- "project1": {
- "environments": [ ],
- "scope": "all"
}, - "project2": {
- "environments": [ ],
- "scope": "prod"
}, - "project3": {
- "environments": [ ],
- "scope": "non-prod"
}, - "project4": {
- "environments": [
- "env1",
- "env2",
- "env3"
], - "scope": "selected"
}
}
}, - "org456": {
- "projects": {
- "project1": {
- "environments": [ ],
- "scope": "all"
}, - "project2": {
- "environments": [ ],
- "scope": "prod"
}, - "project3": {
- "environments": [ ],
- "scope": "non-prod"
}, - "project4": {
- "environments": [
- "env1",
- "env2",
- "env3"
], - "scope": "selected"
}
}
}
}
}
{- "key": "0202f58b-d670-44ef-bd1f-323a48c28004"
}
Deletes a ProxyKey
No content
Bad request
Unauthenticated
Unauthorized
The specified resource was not found
An error with git syncing
Internal server error
{- "code": 404,
- "details": { },
- "message": "Error retrieving projects, organization 'default_org' does not exist"
}
Returns a ProxyKey
OK
Bad request
Unauthenticated
Unauthorized
The specified resource was not found
Internal server error
{- "createdAt": 1698235128877,
- "description": "A description",
- "id": "b56546aa-62e6-407e-bf14-63691a47b0e0",
- "identifier": "MyProxyKey",
- "name": "My Proxy Key",
- "organizations": {
- "org123": {
- "projects": {
- "project1": {
- "environments": [ ],
- "scope": "all"
}, - "project2": {
- "environments": [ ],
- "scope": "prod"
}, - "project3": {
- "environments": [ ],
- "scope": "non-prod"
}, - "project4": {
- "environments": [
- "env1",
- "env2",
- "env3"
], - "scope": "selected"
}
}
}, - "org456": {
- "projects": {
- "project1": {
- "environments": [ ],
- "scope": "all"
}, - "project2": {
- "environments": [ ],
- "scope": "prod"
}, - "project3": {
- "environments": [ ],
- "scope": "non-prod"
}, - "project4": {
- "environments": [
- "env1",
- "env2",
- "env3"
], - "scope": "selected"
}
}
}
}, - "updatedAt": 1698235128877
}
This operation is used to modify which environments a ProxyKey has access to. The request body can include one or more instructions that can assign or unassign environmnets to the ProxyKey
Created
Bad request
Unauthenticated
Unauthorized
The specified resource was not found
The specified resource already exists
Internal server error
{- "instructions": {
- "rotateKey": "12h",
- "updateConfig": {
- "organizations": {
- "org123": {
- "projects": {
- "project1": {
- "environments": [ ],
- "scope": "all"
}, - "project2": {
- "environments": [ ],
- "scope": "prod"
}, - "project3": {
- "environments": [ ],
- "scope": "non-prod"
}, - "project4": {
- "environments": [
- "env1",
- "env2",
- "env3"
], - "scope": "selected"
}
}
}
}, - "version": 1
}, - "updateDescription": "new proxyKey updateDescription",
- "updateName": "newProxyKey"
}
}
{- "key": "0202f58b-d670-44ef-bd1f-323a48c28004"
}