dots.v2.genAi.agents.byAgent_uuId().api_keys.byApi_key_uuid().put()
Generated on 13 Nov 2026
from DoTs version
v1.24.0
Usage
client.v2.genAi.agents.byAgent_uuId(agent_uuId).api_keys.byApi_key_uuid(api_key_uuid).put(body: ApiUpdateAgentAPIKeyInputPublic, requestConfiguration?: RequestConfiguration<object>): Promise<undefined | ApiUpdateAgentAPIKeyOutput>Description
To update an agent API key, send a PUT request to /v2/gen-ai/agents/{agent_uuid}/api_keys/{api_key_uuid}.
Parameters
Path Parameters
agent_uuIdstring requiredExample:
"123e4567-e89b-12d3-a456-426614174000"Agent id
api_key_uuidstring requiredExample:
"123e4567-e89b-12d3-a456-426614174000"API key ID
Request Body
agentUuidstring optionalExample:
"12345678-1234-1234-1234-123456789012"Agent id
apiKeyUuidstring optionalExample:
"12345678-1234-1234-1234-123456789012"API key ID
namestring optionalExample:
"Production Key"Name
Request Sample
Response Example
More Information
See /v2/gen-ai/agents/{agent_uuid}/api_keys/{api_key_uuid} in the API reference for additional detail on responses, headers, parameters, and more.