PUT api/OAuth/Update/ClientId/{clientid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clientid

string

Required

Body Parameters

OAuthCredentials
NameDescriptionTypeAdditional information
id

integer

None.

Type

OAuthType

None.

Active

boolean

None.

NeedsPopup

boolean

None.

Name

string

None.

EndpointUri

string

None.

AuthEndpoint

string

None.

TokenEndpoint

string

None.

AuthUrl

URI

None.

TokenUrl

URI

None.

ClientId

string

None.

ClientSecret

string

None.

AccessToken

string

None.

RefreshToken

string

None.

AccessTokenRefreshDate

date

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<OAuthCredentials xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <EndpointUri>sample string 5</EndpointUri>
  <AuthEndpoint>sample string 6</AuthEndpoint>
  <TokenEndpoint>sample string 7</TokenEndpoint>
  <ClientId>sample string 8</ClientId>
  <ClientSecret>sample string 9</ClientSecret>
  <AccessToken>sample string 10</AccessToken>
  <RefreshToken>sample string 11</RefreshToken>
  <AccessTokenRefreshDate>2021-04-15T07:56:50.0656332+02:00</AccessTokenRefreshDate>
  <id>1</id>
  <Type>TribeCRM</Type>
  <Active>true</Active>
  <NeedsPopup>true</NeedsPopup>
  <Name>sample string 4</Name>
</OAuthCredentials>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

OAuthCredentials
NameDescriptionTypeAdditional information
id

integer

None.

Type

OAuthType

None.

Active

boolean

None.

NeedsPopup

boolean

None.

Name

string

None.

EndpointUri

string

None.

AuthEndpoint

string

None.

TokenEndpoint

string

None.

AuthUrl

URI

None.

TokenUrl

URI

None.

ClientId

string

None.

ClientSecret

string

None.

AccessToken

string

None.

RefreshToken

string

None.

AccessTokenRefreshDate

date

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<OAuthCredentials xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <EndpointUri>sample string 5</EndpointUri>
  <AuthEndpoint>sample string 6</AuthEndpoint>
  <TokenEndpoint>sample string 7</TokenEndpoint>
  <ClientId>sample string 8</ClientId>
  <ClientSecret>sample string 9</ClientSecret>
  <AccessToken>sample string 10</AccessToken>
  <RefreshToken>sample string 11</RefreshToken>
  <AccessTokenRefreshDate>2021-04-15T07:56:50.0812178+02:00</AccessTokenRefreshDate>
  <id>1</id>
  <Type>TribeCRM</Type>
  <Active>true</Active>
  <NeedsPopup>true</NeedsPopup>
  <Name>sample string 4</Name>
</OAuthCredentials>