Rotate API key for service user
Service User API Keys (Enterprise) [Beta]
Rotate API key for service user
Rotate an API key for a service user.
Creates a new key. By default revokes the old key; set revoke_current=false for graceful rollover where both keys remain active temporarily. Returns 404 if the key is not found, 400 if the key is not active.
POST
Rotate API key for service user
Documentation Index
Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
Use this file to discover all available pages before exploring further.
Permissions
Requires a service user with theManageAccountServiceUsers permission at the enterprise level.Authorizations
Service User credential (prefix: cog_)
Path Parameters
Service user ID (prefix: service-user-)
Example:
"service-user-abc123def456"
Body
application/json
