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
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| provider | string |
Required |
|
| entityId | integer |
Required |
Body Parameters
OAuth2RefreshTokenDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| RefreshToken | string |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{
"RefreshToken": "sample string 1"
}
Response Information
Resource Description
Accepted, or forbidden if the auth key is prefefined
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |