POST v1/OAuth/RefreshToken
Request Information
URI Parameters
None.
Body Parameters
RefreshTokenRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| refresh_token | string |
None. |
|
| client_id | string |
None. |
|
| client_secret | string |
None. |
|
| grant_type | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"refresh_token": "sample string 1",
"client_id": "sample string 2",
"client_secret": "sample string 3",
"grant_type": "sample string 4"
}
application/xml, text/xml
Sample:
<RefreshTokenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SkillsTX.Api.Models"> <ClientId>sample string 2</ClientId> <ClientSecret>sample string 3</ClientSecret> <GrantType>sample string 4</GrantType> <RefreshToken>sample string 1</RefreshToken> </RefreshTokenRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RefreshToken| Name | Description | Type | Additional information |
|---|---|---|---|
| access_token | string |
None. |
|
| token_type | string |
None. |
|
| expires_in | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"access_token": "sample string 1",
"token_type": "sample string 2",
"expires_in": 3
}
application/xml, text/xml
Sample:
<RefreshToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SkillsTX.Api.Models"> <AccessToken>sample string 1</AccessToken> <ExpiresIn>3</ExpiresIn> <TokenType>sample string 2</TokenType> </RefreshToken>