Update API Key
**CLI:**
```bash
agentmail pods api-keys update --pod-id <pod_id> --api-key-id <api_key_id> --name "Renamed"
```
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
pod_id
ID of pod.
api_key_id
ID of api key.
Request
This endpoint expects an object.
name
Name of api key.
permissions
Granular permissions for the API key. When ommitted all permissions are granted. Otherwise, only permissions set to true are granted.
Response
This endpoint returns an object.
Bearer API Key
OR
Public Key Credential
Errors
400
Validation Error
404
Not Found Error
