Companies
Company Managers

Update a Company Manager's billing contact assignment

Changed on

Assigns or unassigns a Company Manager as the billing contact (primary or additional) for one or more legal entities.

Authentication

This endpoint accepts any one of the following token types:

  • Company-scoped access token (OAuth2AuthorizationCode) — obtained through the Authorization Code flow or the Refresh Token flow. See Authentication for partners.
  • Customer API token (CustomerAPIToken) — generated by the customer on their Integration Settings page. See Authorization for customers.

Scopes

CategoryRead only ScopeWrite only Scope (read access implicit)
Manage company resources (company_admin)-Manage managers (company_manager:write)
patch/v1/company-managers/{user_id}

Request

  • Base URL: https://gateway.remote.com
  • URL: https://gateway.remote.com/v1/company-managers/{user_id}
  • Auth: HTTP bearer and OAuth 2 (authorization code, authorization URL /auth/oauth2/authorize, token URL /auth/oauth2/token, scopes: https://gateway.remote.com/company.manage, company_manager:write, company_admin, all:write)

Path parameters

user_idstring required

User ID

Request body

Example request

{
  "billing_contact_for": [
    {
      "is_primary_billing_contact": true,
      "legal_entity_slug": "0a8s2d1-legal-entity-slug"
    }
  ]
}

Response

Success

Example response

{
  "data": {
    "company_manager": {
      "billing_contacts": [
        {
          "is_pending_primary_billing_contact": false,
          "is_primary_billing_contact": true,
          "legal_entity_slug": "0a8s2d1-legal-entity-slug"
        }
      ],
      "company_id": "0a8s2d1-company-id-2e3f4th",
      "role": "owner",
      "user_email": "user@example.com",
      "user_id": "983088c9-user-id-023fc08b8625",
      "user_name": "Anne White"
    }
  }
}

Changes