cURL
Update API key name and rate limit
curl -X PUT 'https://admin-api.exa.ai/team-management/api-keys/{id}' \ -H 'x-api-key: YOUR-SERVICE-KEY' \ -H 'Content-Type: application/json' \ -d '{ "name": "Updated Production Key", "rateLimit": 2000 }'
{ "apiKey": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "rateLimit": 123, "teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } }
Update the name and rate limit of an existing API key.
Service API key for team authentication
The unique identifier of the API key to update
Optional new name for the API key
"Updated Production Key"
Optional new rate limit for the API key
2000
API key updated successfully
Show child attributes