Delete action secret

How can I delete action secret? I am able to do it in Auth0 Dashboard, but was not able to find a way to delete it using api call.

Hi @kkiernozek,

Welcome to the Auth0 Community!

I understand that you need some guidance on how to delete an Action Secret.

To delete an Action Secret, start by going to the Action script interface, clicking on the Secrets icon (which looks like a key), and clicking on the delete button next to the secrets. See below for clarity:

Alternatively, you could use the Management API Update an Action endpoint and pass an empty array in the secrets of the request. For example:

  "name": "my-action",
  //... other parameters redacted for brevity
  "secrets": []

Once you have done so, your secrets are deleted permanently.

Please reach out if you have any additional questions.

Thank you.