post
https://api.linode.com//account/oauth-clients//reset-secret
Resets the OAuth Client secret for a client you own, and returns the OAuth Client with the plaintext secret. This secret is not supposed to be publicly known or disclosed anywhere. This can be used to generate a new secret in case the one you have has been leaked, or to get a new secret if you lost the original. The old secret is expired immediately, and logins to your client with the old secret will fail.
Permissions and scopes
To call this operation, you need permissions, based on the model you're using:
-
Identity and access permissions. Your user needs a role with these permissions. Learn more.
- Permissions:
reset_oauth_client_secret
- Permissions:
-
OAuth scopes. Your user needs these scopes assigned. Learn more.
- Scopes:
account:read_write
- Scopes:
CLI
linode-cli account client-reset-secret \
edc6790ea9db4d224c5c