POST oauth2/token?refresh_token={refresh_token}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
refresh_token | string |
Default value is refresh_token |
Body Parameters
OAuthTokenRefreshModelName | Description | Type | Additional information |
---|---|---|---|
refresh_token | string |
Required |
|
grant_type | string |
Required |
|
client_id | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "refresh_token": "sample string 1", "grant_type": "sample string 2", "client_id": "sample string 3" }
application/xml, text/xml
Sample:
<OAuthTokenRefreshModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/App.Auth.Models"> <client_id>sample string 3</client_id> <grant_type>sample string 2</grant_type> <refresh_token>sample string 1</refresh_token> </OAuthTokenRefreshModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Dictionary of string [key] and string [value]Response Formats
application/json, text/json
Sample:
{ "sample string 1": "sample string 2", "sample string 3": "sample string 4" }
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfstringstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <KeyValueOfstringstring> <Key>sample string 1</Key> <Value>sample string 2</Value> </KeyValueOfstringstring> <KeyValueOfstringstring> <Key>sample string 3</Key> <Value>sample string 4</Value> </KeyValueOfstringstring> </ArrayOfKeyValueOfstringstring>