Skip to main content
PATCH
/
organization-integration-tokens
/
:organization_id
/
:integration
/
:realm_id
Update an individual OrganizationIntegrationToken
curl --request PATCH \
  --url https://app.ledger.ai/api/organization-integration-tokens/:organization_id/:integration/:realm_id \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

filters
string

Update item with the given ids: [ organization_id, integration, realm_id ]

JSON PATCH body:

{
"access_token_expires_at"?: timestamp
"access_token_expires_in"?: integer
"encrypted_access_token"?: string
"encrypted_refresh_token"?: string
"refresh_token_expires_at"?: null | timestamp
"refresh_token_expires_in"?: null | integer
"token_type"?: string
"user_id"?: integer
}

Set a field to null to unset it, leave it absent in the patch to retain the existing value.

Body

application/json

Request payload

The body is of type object.

Response

Successful response

The response is of type object.