Rotate an agent's API token
POST/apis/cra.diagrid.io/v1beta1/projects/:ProjectId/agents/:AgentId/apitoken
Issue a new API token for an agent; the current token stops working once the new one is issued. Read the new token from status.appIds with include=appids.
Request
Responses
- 202
- 404
- 409
- default
Accepted for asynchronous processing.
The agent was not found.
The agent's first API token has not been issued yet.
Unexpected error.