Skip to main content
PUT
Removes one or more users from an existing contract. Validates that users are currently attached to the contract before detaching them. On success (200), the response body is the updated contract resource.

Path Parameters

string
required
External contract ID

Request Body Requirements

object
required
array
required
Array of external user IDs to detach from the contract

Known Errors

  • ContractNotFoundError — No contract found with the specified external ID
  • UserNotFoundError — One or more users not found with the specified external IDs
  • ValidationError — Missing required fields or empty users array
  • NotAttachedError — One or more users are not attached to this contract