Reset User and Organization Secret Via the API

You can reset your User Secret or the Organization Secret via the API.  To do so use the POST /authentication/user-secret-reset and POST /authentication/organization-secret-reset endpoints.  Reseting these secrets takes effect immediately and the old ones no longer work.  

Note: You must have the 'Modify Security' privilege on their role in order to reset the organization secret.

Example:

curl -X POST \
  https://api.cloud-elements.com/elements/api-v2/authentication/user-secret-reset \
  -H 'authorization: User <USER-SECRET>, Organization <ORGANIZATION-SECRET>' \
  -H 'content-type: application/json'
curl -X POST \
  https://api.cloud-elements.com/elements/api-v2/authentication/organization-secret-reset \
  -H 'authorization: User <USER-SECRET>, Organization <ORGANIZATION-SECRET>' \
  -H 'content-type: application/json'