curl --request POST \
--url https://api.example.com/authorization/refresh \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"refreshToken": "<string>"
}
'{
"expires": "2023-11-07T05:31:56Z",
"accessToken": "<string>",
"refreshToken": "<string>"
}Refresh the authorization token and return new credentials.
curl --request POST \
--url https://api.example.com/authorization/refresh \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"refreshToken": "<string>"
}
'{
"expires": "2023-11-07T05:31:56Z",
"accessToken": "<string>",
"refreshToken": "<string>"
}Was this page helpful?