v1

latestOpenAPI 3.0.02026-07-2412592575.3 KB
user connections

Update a single connection

Requires user:update scope and for the API client to user their own consent screens i.e. not have Enforce user consent enabled. This endpoint can only currently be used to update the expiresAt field which is the date which the user has consented to.

patch/users/{userId}/connections/{connectionId}

Path parameters

userIdstring required

The user ID

connectionIdstring required

The connection ID

Request body

expiresAtstring date-time required

The date to set the connection consent to expire.

Example request

{
  "expiresAt": "2021-05-24T15:14:37.231Z"
}

Response

Successful Response