Update user providers by id
Update user's providers assignment. All current providers are replaced by the ones from the request.
Path Parameters
- userId string required
The user's internal Upheal UUID or the partner's partnerUserId (external ID) set during user creation. Note - using partnerUserId may result in slightly higher latency due to an additional lookup.
- application/json
Request Body required
- providerUserIds string[] required
Complete list of provider user ids.
Responses
- 200
- 400
- 401
- 403
User providers updated.
- application/json
- Schema
- Example (from schema)
Schema
- providerUserIds string[]
List of provider users in the contract.
{
"providerUserIds": [
"string"
]
}
Invalid request parameters.
Missing or invalid API key.
Given API key is not allowed to update user with given parameters.
Loading...