Validate Authorization Code
Validate the short-lived Authorization Code with the Operator and obtain the Access Token.
Request
Body Params application/x-www-form-urlencoded
Request samples
curl --location --request POST '/oauth2.0/token' \
--data-urlencode 'grant_type=authorization_code' \
--data-urlencode 'code=xyz123' \
--data-urlencode 'client_id=VL001' \
--data-urlencode 'client_secret=77f9931747b63f720f9dbc6'
Responses
application/json {
"access_token": "JewdX+n7R4DZekCEx6LxUtT87kU=",
"expires_in": 3600,
"refresh_token": "7uCIR6QZHUqYMT51OYVk2sliC3LV"
}
Modified at 2024-07-31 07:07:32