Skip to main content
POST
/
deployments
/
{deployment_id}
/
apm
/
{ref_id}
/
_reset-token
Reset the secret token for an APM resource.
curl --request POST \
  --url https://api.elastic-cloud.com/api/v1/deployments/{deployment_id}/apm/{ref_id}/_reset-token \
  --header 'Authorization: <api-key>'
{
  "apm_id": "<string>",
  "diagnostics": {},
  "secret_token": "<string>"
}

Authorizations

Authorization
string
header
required

Path Parameters

deployment_id
string
required

(Required) Identifier for the Deployment.

Example:

"<string>"

ref_id
string
required

(Required) User-specified RefId for the Resource (or '_main' if there is only one).

Example:

"<string>"

Response

Response containing the new secret token, plan to apply it starts

apm_id
string
Example:

"<string>"

diagnostics
object
secret_token
string
Example:

"<string>"

I