Error
A valid request URL is required to generate request examples{
"success": true,
"whoami": {
"keyId": "<string>",
"tenantId": "<string>",
"projectIds": [
"<string>"
],
"scopes": [
"<string>"
],
"environments": [
"dev"
],
"clientId": "<string>",
"via": "apiKey"
}
}{
"error": "<string>"
}{
"error": "<string>"
}Get caller identity
Describe the calling credential, including its scopes, allowed projects, and the environments it can deploy or promote to.
GET
/
api
/
cicd
/
v1
/
whoami
Error
A valid request URL is required to generate request examples{
"success": true,
"whoami": {
"keyId": "<string>",
"tenantId": "<string>",
"projectIds": [
"<string>"
],
"scopes": [
"<string>"
],
"environments": [
"dev"
],
"clientId": "<string>",
"via": "apiKey"
}
}{
"error": "<string>"
}{
"error": "<string>"
}via field shows whether the credential is an API key (apiKey) or a token (token).
Check the environments field before you deploy or promote. It lists the environments (dev, staging, or production) where the caller has deploy and promote authority. This authority gates deployments and promotions independent of scopes.Was this page helpful?