PUT
/
users
/
{user_id}
/
tenants
curl --request PUT \
  --url https://api.courier.com/users/{user_id}/tenants \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "tenants": [
    {
      "user_id": "<string>",
      "type": "user",
      "tenant_id": "<string>",
      "profile": {}
    }
  ]
}'

Authorizations

Authorization
string
header
required

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

Path Parameters

user_id
string
required

The user's ID. This can be any uniquely identifiable string.

Body

application/json
tenants
object[]
required