---
title: "companies updateContext"
method: PATCH
path: "/v3/workspaces/{workspaceSlug}/tenants/{endUserOrgId}/context"
tags: ["tenants"]
---

# companies updateContext

`PATCH /v3/workspaces/{workspaceSlug}/tenants/{endUserOrgId}/context`

## Request

- Base URL: `https://api.interfere.com`
- URL: `https://api.interfere.com/v3/workspaces/{workspaceSlug}/tenants/{endUserOrgId}/context`
- Auth: HTTP bearer

Updates ARR and tier. ARR uses decimal major units and an ISO currency. Omitted fields remain unchanged; null clears a field. Tier names are created within the workspace when first assigned.

## Path parameters

- `workspaceSlug` string, required
- `endUserOrgId` string, uuid, required

## Request body

- object
  - `arr` union
    - object
      - `amount` string, required
      - `currency` string, required
    - unknown
  - `tier` union
    - string
    - unknown

## Response `200`

OK

- GetTenantContextResponse
  - `endUserOrgId` string, uuid, required
  - `arr` union, required
    - object
      - `amount` string, required
      - `currency` string, required
    - unknown
  - `tier` union, required
    - string
    - unknown

## Other responses

- `400`: Request parameters or body failed validation
- `401`: Missing or invalid credentials
- `403`: Access denied
- `404`: Resource not found
- `503`: Service temporarily unavailable; retry after the indicated delay

---

[API](https://skmtc.dev/interfere/apis/interfere-api.md) - [All operations](https://skmtc.dev/interfere/apis/interfere-api/llms.txt) - [OpenAPI document](https://skmtc.dev/interfere/apis/interfere-api/revisions/093321c104e6?raw)
