Rotate user secret
Changed onRotates the secret for a SnapTrade user. You might use this if userSecret is compromised. Please note that if you call this endpoint and fail to save the new secret, you'll no longer be able to access any data for this user, and your only option will be to delete and recreate the user, then ask them to reconnect.
Request
- Base URLhttps://api.snaptrade.com
- URLhttps://api.snaptrade.com/snapTrade/resetUserSecret
- AuthAPI key in header Signature and API key in query parameter clientId and API key in query parameter timestamp
Request body
Example request
{
"userId": "snaptrade-user-123",
"userSecret": "adf2aa34-8219-40f7-a6b3-60156985cc61"
}Response
New user secret is generated
Example response
{
"userId": "snaptrade-user-123",
"userSecret": "adf2aa34-8219-40f7-a6b3-60156985cc61"
}Changes
- breaking
the
response's property type changed fromstringto no type for status - breaking
the
response's property type changed fromstringto no type for status - breaking
the
response's property type changed fromstringto no type for status - breaking
the
response's property type changed fromstringto no type for status - breaking
the
response's property type changed fromstringto no type for status - breaking
the
response's property type changed fromstringto no type for status - breaking
the
response's property type changed fromstringto no type for status - breaking
the
response's property type changed fromstringto no type for status - breaking
the
response's property type changed fromintegerto no type for status
- breaking
- breaking
the
response's property type changed from no type tostringfor status - breaking
the
response's property type changed from no type tostringfor status - breaking
the
response's property type changed from no type tostringfor status - breaking
the
response's property type changed from no type tostringfor status - breaking
the
response's property type changed from no type tostringfor status - breaking
the
response's property type changed from no type tostringfor status - breaking
the
response's property type changed from no type tostringfor status - breaking
the
response's property type changed from no type tostringfor status - breaking
the
response's property type changed from no type tointegerfor status
- breaking