curl --request GET \
--url https://{controlPlaneURL}/api/svc/v1/virtual-accounts \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"tenantName": "<string>",
"createdBySubject": {
"subjectId": "<string>",
"subjectType": "user",
"subjectSlug": "<string>",
"subjectDisplayName": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"manifest": {
"name": "<string>",
"type": "virtual-account",
"permissions": [
{
"resource_fqn": "<string>",
"resource_type": "<string>",
"role_id": "<string>"
}
],
"expiration_date": "<string>",
"auto_rotate": {
"auto_rotate_interval": 360,
"grace_period": 30
},
"notification_target": {
"type": "email",
"notification_channel": "<string>",
"to_emails": [
"<string>"
]
},
"secret_store_config": {
"integration_fqn": "<string>",
"secret_path": "<string>"
},
"ownedBy": {
"team": "<string>",
"account": "<string>"
}
},
"jwtId": "<string>",
"isExpired": true,
"jwts": [
{
"id": "<string>",
"subjectType": "<string>",
"subjectId": "<string>",
"expiry": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"metadata": {}
}
],
"accountId": "<string>",
"metadata": {},
"roleIds": [
"<string>"
],
"createdBy": "<string>",
"nextScheduledRotation": "<string>"
}
],
"pagination": {
"total": 100,
"offset": 0,
"limit": 10
}
}List virtual accounts for the tenant.
curl --request GET \
--url https://{controlPlaneURL}/api/svc/v1/virtual-accounts \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"tenantName": "<string>",
"createdBySubject": {
"subjectId": "<string>",
"subjectType": "user",
"subjectSlug": "<string>",
"subjectDisplayName": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"manifest": {
"name": "<string>",
"type": "virtual-account",
"permissions": [
{
"resource_fqn": "<string>",
"resource_type": "<string>",
"role_id": "<string>"
}
],
"expiration_date": "<string>",
"auto_rotate": {
"auto_rotate_interval": 360,
"grace_period": 30
},
"notification_target": {
"type": "email",
"notification_channel": "<string>",
"to_emails": [
"<string>"
]
},
"secret_store_config": {
"integration_fqn": "<string>",
"secret_path": "<string>"
},
"ownedBy": {
"team": "<string>",
"account": "<string>"
}
},
"jwtId": "<string>",
"isExpired": true,
"jwts": [
{
"id": "<string>",
"subjectType": "<string>",
"subjectId": "<string>",
"expiry": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"metadata": {}
}
],
"accountId": "<string>",
"metadata": {},
"roleIds": [
"<string>"
],
"createdBy": "<string>",
"nextScheduledRotation": "<string>"
}
],
"pagination": {
"total": 100,
"offset": 0,
"limit": 10
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Number of items per page
1 <= x <= 100010
Number of items to skip
x >= 00
Was this page helpful?