Rotate an MCP server's API token
POST/apis/dapr.diagrid.io/v1beta1/projects/:ProjectId/mcpservers/:ProjectSubresourceId/apitoken
Issue a new API token for an MCP server; the current token stops working once the new one is issued. Read the new token from status.appIds with include=appids.
Request
Responses
- 202
- 401
- 403
- 404
- 409
- default
Accepted for asynchronous processing.
Authentication failed: the credentials are missing or not valid, or the x-diagrid-orgid header names a different organization than the credentials.
You are not authorized to perform this action.
The MCP server was not found.
The MCP server's first API token has not been issued yet.
Unexpected error.