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

NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional information
RefreshToken

The refresh token value.

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
NameDescriptionTypeAdditional 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.