voxel.hapi.authkeys.reset

Reset hAPI authentication key/secret. This method may only be accessed via an SSL endpoint.

Parameters

authkey (optional)
Authentication key associated with a Voxel username

Example Response

<authkey>
  <key>4eb787e0035b1314a38af2891b125b6b</key>
  <secret>29c19ac83dc1b0f98919810ad5c44e5f</secret>
  <username>myusername</username>
  <user_type>superuser</user_type>
</authkey>

Notes

This method will generate a new key/secret for the authenticated user, and return the new authentication details. All subsequent hAPI requests should use the new key/secret for authentication. The authkey parameter may optionally be specified to indicate a user on the account whose key/secret should be reset.

Method Specific Error Codes

500: Method must be accessed via an SSL endpoint
This method may only be accessed from an SSL-enabled hAPI endpoint.