List User Approvals
List User Approvals returns a list of approvals created by the current user
Query Parameters
List of approval statuses to filter by. Possible values are "pending", "active", "rejected", "cancelled", "terminated"
Account ID of the user or service account who is creating the appeal
- 200
- 400
- 401
- 403
- 404
- 500
- default
A successful response.
Schema
- Array [
- Array [
- ]
- Array [
- ]
- Array [
- ]
- ]
approvals object[]
appeal object
options object
labels object
resource object
Resource unique identifier
Type of the provider that manages this resource
Unique resource urn
Type of the resource. Depends on the provider type. For example, for BigQuery, it can be dataset, table, view, etc.
Unique resource urn
Additional information of the resource that can be updated from Guardian
labels object
Resource creation timestamp
Resource last update timestamp
Whether the resource is deleted or not
Parent resource id
children object[]
List of child resources
approvals object[]
Creation time of the appeal
Last update time of the appeal
grant object
Timestamp when the grant is revoked
Creation time of the grant
Last update time of the grant
resource object
Resource unique identifier
Type of the provider that manages this resource
Unique resource urn
Type of the resource. Depends on the provider type. For example, for BigQuery, it can be dataset, table, view, etc.
Unique resource urn
Additional information of the resource that can be updated from Guardian
labels object
Resource creation timestamp
Resource last update timestamp
Whether the resource is deleted or not
Parent resource id
children object[]
List of child resources
Approval creation timestamp
Approval last update timestamp
{
"approvals": [
{
"id": "string",
"name": "string",
"appealId": "string",
"status": "string",
"actor": "string",
"policyId": "string",
"policyVersion": 0,
"approvers": [
"string"
],
"appeal": {
"id": "string",
"resourceId": "string",
"policyId": "string",
"policyVersion": 0,
"status": "string",
"accountId": "string",
"role": "string",
"options": {
"expirationDate": "2023-10-24T20:41:02.804Z",
"duration": "string"
},
"labels": {},
"resource": {
"id": "f4b7a3c0-9f9b-4b9b-9b0a-9e4b1a1b1b1b",
"providerType": "bigquery",
"providerUrn": "my-bq",
"type": "table",
"urn": "string",
"name": "string",
"details": {},
"labels": {},
"createdAt": "2023-06-07T05:39:56.961Z",
"updatedAt": "2023-06-07T05:39:56.961Z",
"isDeleted": true,
"parentId": "string",
"children": [
{}
]
},
"approvals": [
{}
],
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z",
"details": {},
"accountType": "string",
"createdBy": "string",
"creator": {},
"permissions": [
"string"
],
"grant": {
"id": "string",
"status": "string",
"accountId": "string",
"accountType": "string",
"resourceId": "string",
"role": "string",
"permissions": [
"string"
],
"expirationDate": "2023-10-24T20:41:02.805Z",
"appealId": "string",
"revokedBy": "string",
"revokedAt": "2023-01-01T00:00:00Z",
"revokeReason": "string",
"createdBy": "string",
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z",
"resource": {
"id": "f4b7a3c0-9f9b-4b9b-9b0a-9e4b1a1b1b1b",
"providerType": "bigquery",
"providerUrn": "my-bq",
"type": "table",
"urn": "string",
"name": "string",
"details": {},
"labels": {},
"createdAt": "2023-06-07T05:39:56.961Z",
"updatedAt": "2023-06-07T05:39:56.961Z",
"isDeleted": true,
"parentId": "string",
"children": [
{}
]
},
"isPermanent": true,
"source": "string",
"statusInProvider": "string",
"owner": "string"
},
"description": "string"
},
"createdAt": "2023-06-07T05:39:56.961Z",
"updatedAt": "2023-06-07T05:39:56.961Z",
"reason": "string"
}
],
"total": 0
}
Bad Request - The request was malformed or contained invalid parameters.
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Unauthorized - Authentication is required
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Forbidden - User does not have permission to access the resource
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Not Found - The requested resource was not found
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Internal Server Error. Returned when theres is something wrong with Frontier server.
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
An unexpected error response.
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}