Reset the secret token for an APM resource.
- POST /deployments/{deployment_id}/apm/{ref_id}/_reset-token
Reset the token of an APM resource.
Responses
Response containing the new secret token, plan to apply it starts
Reset token is not supported when APM is managed by Elastic Agent. (code: clusters.cluster_plan_state_error)
- The Deployment specified by {deployment_id} cannot be found. (code:
deployments.deployment_not_found) - The Resource specified by {ref_id} cannot be found. (code:
deployments.deployment_resource_not_found)
We have failed you. (code: deployments.deployment_resource_no_longer_exists)