Error
A valid request URL is required to generate request examples{
"results": {
"revokedAt": "2023-11-07T05:31:56Z",
"status": "active",
"lastUsedAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z",
"approvedAt": "2023-11-07T05:31:56Z",
"approvedProjects": [
{
"approvedCapabilities": [
"read_discover"
],
"name": "<string>",
"projectUuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"limitsStatus": "ok",
"clientId": "<string>",
"name": "<string>",
"grantUuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"effectiveProjects": [
{
"capabilities": [
{
"reason": "invalid_grant",
"allowed": true,
"capability": "read_discover"
}
],
"projectUuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
},
"status": "ok"
}{
"error": {
"name": "<string>",
"statusCode": 123,
"data": "<unknown>",
"message": "<string>"
},
"status": "error"
}v2
Get connection status
Reads stored approval and current project and action restrictions. An allowed action has current person permission, organisation agent policy approval, and support from an agent connection in that project. A request can still be refused by a narrower rule: private-space access, a protected branch, a second required action (uploads need Deploy and upload), or scheduled pre-aggregate refreshes in the project.
GET
/
api
/
v2
/
user
/
agent-connections
/
{grantUuid}
/
status
Error
A valid request URL is required to generate request examples{
"results": {
"revokedAt": "2023-11-07T05:31:56Z",
"status": "active",
"lastUsedAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z",
"approvedAt": "2023-11-07T05:31:56Z",
"approvedProjects": [
{
"approvedCapabilities": [
"read_discover"
],
"name": "<string>",
"projectUuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"limitsStatus": "ok",
"clientId": "<string>",
"name": "<string>",
"grantUuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"effectiveProjects": [
{
"capabilities": [
{
"reason": "invalid_grant",
"allowed": true,
"capability": "read_discover"
}
],
"projectUuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
},
"status": "ok"
}{
"error": {
"name": "<string>",
"statusCode": 123,
"data": "<unknown>",
"message": "<string>"
},
"status": "error"
}Was this page helpful?