Virtual Accounts
Get virtual account
Clusters
Applications
Models
Artifacts
Prompts
Secret Groups
Model Deployments
Users
Personal Access Tokens
Virtual Accounts
Virtual Accounts
Get virtual account
Get virtual account by id
GET
/
api
/
svc
/
v1
/
virtual-accounts
/
{id}
curl --request GET \
--url https://{controlPlaneURL}/api/svc/v1/virtual-accounts/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "<string>",
"name": "<string>",
"type": "<string>",
"tenantName": "<string>",
"manifest": {
"name": "<string>",
"type": "virtual-account",
"expiration_date": "<string>",
"permissions": [
{
"resource_fqn": "<string>",
"resource_type": "<string>",
"role_id": "<string>"
}
]
},
"createdBySubject": {
"subjectId": "<string>",
"subjectType": "user",
"subjectSlug": "<string>",
"subjectDisplayName": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>"
},
"token": "<string>"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
serviceaccount id
Response
200
application/json
Returns the virtual account associated with the provided virtual account id
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://{controlPlaneURL}/api/svc/v1/virtual-accounts/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "<string>",
"name": "<string>",
"type": "<string>",
"tenantName": "<string>",
"manifest": {
"name": "<string>",
"type": "virtual-account",
"expiration_date": "<string>",
"permissions": [
{
"resource_fqn": "<string>",
"resource_type": "<string>",
"role_id": "<string>"
}
]
},
"createdBySubject": {
"subjectId": "<string>",
"subjectType": "user",
"subjectSlug": "<string>",
"subjectDisplayName": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>"
},
"token": "<string>"
}