PATCH
/
consumers
/
{consumerid}
/
connections
/
{connectionid}
curl --request PATCH \
  --url https://api.chift.eu/consumers/{consumerid}/connections/{connectionid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "redirect": false,
  "name": "<string>",
  "credentials": [
    {
      "key": "<string>",
      "value": "<string>"
    }
  ]
}'
{
  "url": "<string>"
}

Authorizations

Authorization
string
header
required

This access token needs to be included in each of your request to the Chift API.

Path Parameters

consumerid
string
required
connectionid
string
required

Body

application/json
redirect
boolean
default:false

Indicates whether you want to return to the consumer's redirectUrl after update (true) or whether you want to return on the connection page (false)

name
string

Can be used to update the name of an existing connection

credentials
object[]

Can be used to update the credentials of an existing connection. Please use the getIntegrations route to see the available credentials for each integration

Response

200
application/json
Successful Response
url
string
required