curl --request GET \
--url https://api.cpln.io/org/{org}/serviceaccount/{name}
{
"id": "<string>",
"name": "<string>",
"kind": "<string>",
"version": 123,
"description": "<string>",
"tags": {},
"created": "2023-11-07T05:31:56Z",
"lastModified": "2023-11-07T05:31:56Z",
"links": [
{
"rel": "<string>",
"href": "<string>"
}
],
"keys": [
{
"name": "<string>",
"created": "2023-11-07T05:31:56Z",
"key": "<string>",
"description": "<string>"
}
],
"origin": "default"
}
Response will contain the requested service account if the caller is authorized to view it
curl --request GET \
--url https://api.cpln.io/org/{org}/serviceaccount/{name}
{
"id": "<string>",
"name": "<string>",
"kind": "<string>",
"version": 123,
"description": "<string>",
"tags": {},
"created": "2023-11-07T05:31:56Z",
"lastModified": "2023-11-07T05:31:56Z",
"links": [
{
"rel": "<string>",
"href": "<string>"
}
],
"keys": [
{
"name": "<string>",
"created": "2023-11-07T05:31:56Z",
"key": "<string>",
"description": "<string>"
}
],
"origin": "default"
}
Service account key can be used as API keys
Success
The response is of type object
.