POST api/app/authkey/{provider}/{entityId}
Update Auth key for a provider Add the provider name (provided by rezi for your app), the agency, branch or brand id you would like to attach this too. And specify the authKey as a string "abcdefg" in the body of the request Processes this app API request. The parameter and response sections describe the data exchanged with the API.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| provider |
The provider value supplied with the request. |
string |
Required |
| entityId |
The unique identifier of the entity resource. |
integer |
Required |
Body Parameters
The o auth2 refresh token data contract supplied with the request.
OAuth2RefreshTokenDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| RefreshToken |
The refresh token value. |
string |
None. |
Request Formats
application/x-www-form-urlencoded
Sample not available.
application/json, text/json
{
"RefreshToken": "sample string 1"
}
Response Information
Resource Description
Accepted, or forbidden if the auth key is prefefined
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version |
The version value. |
Version |
None. |
| Content |
The content value. |
HttpContent |
None. |
| StatusCode |
The status code classification. |
HttpStatusCode |
None. |
| ReasonPhrase |
The reason phrase value. |
string |
None. |
| Headers |
The collection of headers. |
Collection of Object |
None. |
| RequestMessage |
The request message value. |
HttpRequestMessage |
None. |
| IsSuccessStatusCode |
Indicates whether this item is success status code. |
boolean |
None. |