Error
A valid request URL is required to generate request examples{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"scope": "openid credentials.read credentials.verify",
"agentApiKey": "air_ag_<secret>",
"publicKey": "<string>",
"nickname": "<string>",
"partnerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"code": "INVALID_TOKEN",
"message": "Unknown agent API key"
}{
"code": "AGENT_KEYS_DISABLED",
"message": "Agent keys are not enabled for this partner"
}{
"code": "INVALID_PARAMETER",
"message": "<string>"
}Agent APIs
Rotate an agent API key
Issues a new agentApiKey (returned once), increments the key’s token
version, and invalidates agent JWTs already issued for it. wallet.sign
keys cannot be rotated on this path.
POST
/
v2
/
auth
/
agent
/
keys
/
partner
/
{id}
/
rotate
Error
A valid request URL is required to generate request examples{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"scope": "openid credentials.read credentials.verify",
"agentApiKey": "air_ag_<secret>",
"publicKey": "<string>",
"nickname": "<string>",
"partnerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"code": "INVALID_TOKEN",
"message": "Unknown agent API key"
}{
"code": "AGENT_KEYS_DISABLED",
"message": "Agent keys are not enabled for this partner"
}{
"code": "INVALID_PARAMETER",
"message": "<string>"
}Authorizations
Response
Rotated key. Store the new agentApiKey.
Was this page helpful?