IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Reset token
editReset token
editThis endpoint is deprecated and scheduled to be removed in the next major version. Use reset APM resource token instead.
Resets the secret token for a given APM cluster.
Request
editPOST /api/v1/clusters/apm/{cluster_id}/_reset-token
Path parameters
editName | Type | Required | Description |
---|---|---|---|
|
|
Y |
APM instance identifier |
Responses
edit-
200
-
The token was successfully reset
-
404
-
The cluster specified by {cluster_id} cannot be found (code: 'clusters.cluster_not_found')
-
412
-
There is not currently applied plan - eg the cluster has not finished provisioning, or the provisioning failed (code: 'clusters.cluster_plan_state_error')
-
449
-
elevated permissions are required. (code: '"root.unauthorized.rbac.elevated_permissions_required"')
Request example
editcurl -XPOST https://{{hostname}}/api/v1/clusters/apm/{cluster_id}/_reset-token \ -H "Authorization: ApiKey $ECE_API_KEY"