XS2A.api.users
Refresh an accesstoken
post/api/users/{user-id}/accesstokens/{token-id}/refresh
Path parameters
user-idstring required
The user-id for the user to refresh a specific accesstoken for.
token-idstring required
The token-id for the token to refresh.
Request body
Example request
{
"valid_until": "2018-03-22 12:14:58"
}Response
Request successfully processed
Example response
{
"id": "uat_MEYAT0R7Gm2vkZtU",
"token": "4K9JaNOhnCknZJyAXHKkrS6g0Ik7V0CX",
"valid_until": "2018-03-22 12:14:58",
"created_at": "2018-03-16 11:14:58",
"object": "bank_user_access_token"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.