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

NameDescriptionTypeAdditional information
provider

string

Required

entityId

integer

Required

Body Parameters

Dezrez.Core.DataContracts.External.Api.Oauth.Command.OAuth2RefreshTokenDataContract
NameDescriptionTypeAdditional 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

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.