---
updatedAt: 2026-08-10T12:21:58.000Z
agentTools:
  projectIndex: https://monta-partner-api.readme.io/llms.txt
---

# Freeze a team

Required scope: `teams:write` </br>Organization authorization: `supported`

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Monta API",
    "description": "\n             see https://docs.partner-api.monta.com\n             ",
    "contact": {
      "name": "Monta API Support",
      "url": "https://www.monta.com/uk/contact",
      "email": "partner-api@monta.com"
    },
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://partner-api.monta.com",
      "description": "Production"
    }
  ],
  "security": [],
  "tags": [
    {
      "name": "Teams"
    }
  ],
  "paths": {
    "/api/v1/teams/{id}/freeze": {
      "post": {
        "tags": [
          "Teams"
        ],
        "summary": "Freeze a team",
        "description": "Required scope: `teams:write` </br>Organization authorization: `supported`",
        "operationId": "freeze-team",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTeamStateDto"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Team with provided id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Team"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "status": "BAD_REQUEST",
                    "message": "Invalid request",
                    "errorCode": "BAD_REQUEST"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Consumer with provided credentials was not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "status": "UNAUTHORIZED",
                    "message": "Consumer with given `clientId` and `clientSecret` not found",
                    "errorCode": "CONSUMER_NOT_FOUND"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Operator doesn't have access to resource",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "status": "FORBIDDEN",
                    "message": "Operator doesn't have access to resource",
                    "errorCode": "ACCESS_FORBIDDEN"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Entity with the provided id was not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "status": "NOT_FOUND",
                    "message": "Requested entity/entity provided in body was not found",
                    "readableMessage": "user friendly message",
                    "errorCode": "RESOURCE_NOT_FOUND",
                    "context": "context"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAccessToken": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "Currency": {
        "required": [
          "identifier",
          "name"
        ],
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string",
            "description": "Currency identifier, e.g. dkk",
            "example": "dkk"
          },
          "name": {
            "type": "string",
            "description": "Readable name of currency",
            "example": "Danish krone"
          },
          "decimals": {
            "type": "integer",
            "description": "Number of decimals for this currency",
            "format": "int32",
            "example": 2
          }
        }
      },
      "InvoiceRequest": {
        "required": [
          "id",
          "requestedAt",
          "status"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Id of the invoice request",
            "format": "int64",
            "example": 12345
          },
          "status": {
            "type": "string",
            "description": "Status of the invoice request",
            "example": "pending",
            "enum": [
              "pending",
              "approved",
              "rejected"
            ]
          },
          "requestedAt": {
            "type": "string",
            "description": "The timestamp when the invoice request was created",
            "format": "date-time",
            "example": "2025-07-08T15:56:45.99Z"
          },
          "approvedAt": {
            "type": "string",
            "description": "The timestamp when the invoice request was approved",
            "format": "date-time",
            "nullable": true,
            "example": "2025-07-08T16:00:00Z"
          },
          "rejectedAt": {
            "type": "string",
            "description": "The timestamp when the invoice request was rejected",
            "format": "date-time",
            "nullable": true,
            "example": "2025-07-08T16:05:00Z"
          },
          "rejectionReason": {
            "type": "string",
            "description": "The reason for rejecting the invoice request",
            "nullable": true,
            "example": "Missing required data"
          },
          "updatedAt": {
            "type": "string",
            "description": "The timestamp when the invoice request was last updated",
            "format": "date-time",
            "nullable": true,
            "example": "2025-07-08T16:10:00Z"
          }
        }
      },
      "OnboardingStep": {
        "required": [
          "step"
        ],
        "type": "object",
        "properties": {
          "step": {
            "minLength": 1,
            "type": "string",
            "description": "The onboarding step key. Present in the list means the step is enabled for the team.",
            "example": "SETUP_CHARGING_RULE",
            "enum": [
              "ADD_VEHICLE",
              "ADD_PAYMENT_METHOD",
              "ADD_RFID",
              "ADD_CHARGER",
              "ADD_TEAM_MEMBER",
              "SETUP_CHARGING_RULE",
              "SETUP_REIMBURSEMENT"
            ]
          },
          "config": {
            "type": "string",
            "description": "Optional per-step configuration, interpreted by the step. SETUP_CHARGING_RULE: the charging rule type, one of `scheduled`, `smart`. ADD_TEAM_MEMBER: the member type the invite creates, one of `member`, `admin`; null/absent keeps the app's native invite flow, which picks the role. Null/absent for all other steps.",
            "nullable": true,
            "example": "scheduled",
            "enum": [
              "scheduled",
              "smart",
              "member",
              "admin"
            ]
          },
          "displayMode": {
            "type": "string",
            "description": "How the app presents the step: `full_screen` (default) or `waiting_step` (a passive card). `waiting_step` is rejected for SETUP_CHARGING_RULE. Absent/null defaults to `full_screen`.",
            "nullable": true,
            "example": "full_screen",
            "enum": [
              "full_screen",
              "waiting_step"
            ]
          }
        }
      },
      "OnboardingWelcomeTextSlot": {
        "required": [
          "mode"
        ],
        "type": "object",
        "properties": {
          "mode": {
            "type": "string",
            "description": "`custom` shows `text`, `follows` reuses another slot's text, `default` shows Monta's copy.",
            "nullable": true,
            "example": "custom",
            "enum": [
              "custom",
              "follows",
              "default"
            ]
          },
          "text": {
            "type": "string",
            "description": "The operator's text (max 200 characters). Required when `mode` is `custom`.",
            "nullable": true,
            "example": "Plug in your car to start charging."
          },
          "follows": {
            "type": "string",
            "description": "The slot whose text to reuse. Required when `mode` is `follows`.",
            "nullable": true,
            "example": "ready"
          }
        }
      },
      "OnboardingWelcomeText_1": {
        "required": [
          "enabled"
        ],
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "Which onboarding flow the text is written for: `home` (private charger, one slot per charger state) or `public` / `semi_public` (shared chargers, the single `shared_chargers` slot). Required when `enabled` is true.",
            "nullable": true,
            "example": "home",
            "enum": [
              "home",
              "public",
              "semi_public"
            ]
          },
          "enabled": {
            "type": "boolean",
            "description": "Whether the operator's own text is active. `false` reverts the app to Monta's default copy.",
            "nullable": true,
            "example": true
          },
          "slots": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/OnboardingWelcomeTextSlot"
            },
            "description": "Override per slot. Keys: `no_charger`, `awaiting_installation`, `ready` (home) or `shared_chargers` (public/semi_public). A slot left out uses Monta's default copy. Required on writes: the map replaces the saved one.",
            "nullable": true
          }
        },
        "description": "The team's app-onboarding welcome-screen text override. Null when never configured: the app shows Monta's default copy."
      },
      "Operator": {
        "required": [
          "identifier",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "ID of the operator",
            "format": "int64",
            "example": 14
          },
          "name": {
            "type": "string",
            "description": "Name of operator",
            "example": "Monta"
          },
          "identifier": {
            "type": "string",
            "description": "Identifier of operator",
            "example": "monta"
          },
          "partnerId": {
            "type": "integer",
            "description": "Id of the partner",
            "format": "int64",
            "nullable": true,
            "example": 1
          },
          "vatNumber": {
            "type": "string",
            "description": "VAT number",
            "nullable": true,
            "example": "FOO-123-ABC"
          }
        }
      },
      "SavedPaymentMethod": {
        "required": [
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "Payment method type",
            "example": "card"
          },
          "brand": {
            "type": "string",
            "description": "Card brand. Null for non-card payment methods",
            "nullable": true,
            "example": "visa"
          },
          "last4": {
            "type": "string",
            "description": "Last four card digits. Null for non-card payment methods",
            "nullable": true,
            "example": "4242"
          },
          "expiryMonth": {
            "type": "integer",
            "description": "Card expiry month. Null for non-card payment methods",
            "format": "int32",
            "nullable": true,
            "example": 12
          },
          "expiryYear": {
            "type": "integer",
            "description": "Card expiry year. Null for non-card payment methods",
            "format": "int32",
            "nullable": true,
            "example": 2028
          },
          "expired": {
            "type": "boolean",
            "description": "Whether the card has expired. Always false for non-card payment methods",
            "example": false
          }
        }
      },
      "Team": {
        "required": [
          "address",
          "createdAt",
          "currency",
          "id",
          "isFrozen",
          "joinCode",
          "name",
          "paymentMethod",
          "type",
          "updatedAt",
          "userId"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Id of the team",
            "format": "int64",
            "example": 1
          },
          "name": {
            "type": "string",
            "description": "Name of the team",
            "example": "Internal team"
          },
          "email": {
            "type": "string",
            "description": "Email of the team that will receive team communications. Named \"contact email\" in the creation/update APIs.",
            "nullable": true,
            "example": "email@it.com"
          },
          "financeEmail": {
            "type": "string",
            "description": "Finance email of the team that will receive finance related emails",
            "nullable": true,
            "example": "email@it.com"
          },
          "financeCommunicationEmail": {
            "type": "string",
            "description": "Recipient for important payment notices (late payment, freeze warning, frozen). When not set, these go to `financeEmail`.",
            "nullable": true,
            "example": "billing_notices@monta.com"
          },
          "legalEmail": {
            "type": "string",
            "description": "Legal email of the team (certified e-mail)",
            "nullable": true,
            "example": "email@it.com"
          },
          "externalId": {
            "type": "string",
            "description": "External id of the team",
            "nullable": true,
            "example": "123-ABC"
          },
          "partnerExternalId": {
            "type": "string",
            "description": "External Id of this entity, managed by you.</br>*Deprecated*: use `customFields.externalId` instead — both read and write the same value.",
            "nullable": true,
            "example": "ACME-12345",
            "deprecated": true
          },
          "partnerCustomPayload": {
            "type": "object",
            "additionalProperties": true,
            "description": "Custom JSON payload for this entity, managed by you.</br>*Note*: the expected shape is a flat JSON object with named keys.</br>*Deprecated*: use `customFields` instead; this payload is not migrated automatically.",
            "nullable": true,
            "example": {
              "internalId": "ACME-12345",
              "department": "Fleet"
            },
            "deprecated": true
          },
          "customFields": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "Custom fields of this entity, managed by you: a flat map of string keys (1-64 characters, no `:` or `,`) to string values (up to 256 characters), at most 20 pairs. Fields are scoped to your operator and never visible to other operators. `externalId` is the same value as the deprecated `partnerExternalId`.",
            "nullable": true,
            "example": {
              "externalId": "crm-4711",
              "costCenter": "DK-OPS-12"
            }
          },
          "joinCode": {
            "type": "string",
            "description": "Code to share with a user to join the team. Slugified and unique across all teams on Monta.",
            "example": "mvv-energie-042"
          },
          "recipientCode": {
            "type": "string",
            "description": "The recipient code used for e-invoicing",
            "nullable": true,
            "example": "my-team-123"
          },
          "companyName": {
            "type": "string",
            "description": "The company name for the given team",
            "nullable": true,
            "example": "Housing XYZ"
          },
          "taxIdentificationNumber": {
            "type": "string",
            "description": "The tax identification number for the given team",
            "nullable": true,
            "example": "123456789"
          },
          "vatNumber": {
            "type": "string",
            "description": "The VAT number for the given team",
            "nullable": true,
            "example": "DE123456789"
          },
          "companyRegistrationNumber": {
            "type": "string",
            "description": "The company registration number for the team",
            "nullable": true,
            "example": "13585628"
          },
          "operator": {
            "description": "The operator to this team is associated",
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/Operator"
              }
            ]
          },
          "address": {
            "description": "The address where the team is located",
            "allOf": [
              {
                "$ref": "#/components/schemas/TeamDto.TeamAddressDto"
              }
            ]
          },
          "currency": {
            "description": "The currency assigned for this  team",
            "allOf": [
              {
                "$ref": "#/components/schemas/Currency"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "Type of the team",
            "example": "personal",
            "enum": [
              "private",
              "professional",
              "operator"
            ]
          },
          "category": {
            "description": "Category of the team. Set it with `category` on team create and patch.",
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/TeamDto.TeamCategoryDto"
              }
            ]
          },
          "operatorId": {
            "type": "integer",
            "description": "Deprecated (will be removed by 01.04.24), use `operator` field instead.",
            "format": "int64",
            "nullable": true,
            "example": 1,
            "deprecated": true,
            "x-sunset": "2024-04-01"
          },
          "userId": {
            "type": "integer",
            "description": "Id of the user that owns this team",
            "format": "int64",
            "example": 1
          },
          "isFrozen": {
            "type": "boolean",
            "description": "Whether the team is frozen or not",
            "example": false
          },
          "frozenReason": {
            "type": "string",
            "description": "Team freezing reason",
            "nullable": true,
            "example": "removed team"
          },
          "featureGroupId": {
            "type": "integer",
            "description": "Feature group id assigned to team",
            "format": "int64",
            "nullable": true,
            "example": 1
          },
          "frozenAt": {
            "type": "string",
            "description": "Frozen date of this team",
            "format": "date-time",
            "nullable": true,
            "example": "2022-05-12T16:56:45.99Z"
          },
          "blockedAt": {
            "type": "string",
            "description": "Blocked date of this team",
            "format": "date-time",
            "nullable": true,
            "example": "2022-05-12T15:56:45.99Z"
          },
          "createdAt": {
            "type": "string",
            "description": "Creation date of this team",
            "format": "date-time",
            "example": "2022-05-12T15:56:45.99Z"
          },
          "updatedAt": {
            "type": "string",
            "description": "Update date of this team",
            "format": "date-time",
            "example": "2022-05-12T16:56:45.99Z"
          },
          "deletedAt": {
            "type": "string",
            "description": "The deleted date of this team",
            "format": "date-time",
            "nullable": true,
            "example": "2022-05-12T16:56:45.99Z"
          },
          "paymentMethod": {
            "description": "The team's billing method (for example `source` or `invoice`). This does not indicate whether a saved card exists; use `hasPaymentCard` and `paymentMethods` for saved payment methods.",
            "example": "invoice",
            "allOf": [
              {
                "$ref": "#/components/schemas/TeamPaymentMethod"
              }
            ]
          },
          "invoiceRequest": {
            "description": "The invoice request associated with this team, if any. This is only available for teams that have set payment method as an `invoice`.",
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/InvoiceRequest"
              }
            ]
          },
          "themeId": {
            "type": "integer",
            "description": "The theme id associated with the team.",
            "format": "int64",
            "nullable": true,
            "example": 1
          },
          "tags": {
            "type": "array",
            "description": "Tags associated with this team",
            "items": {
              "$ref": "#/components/schemas/TeamDto.TeamTagDto"
            }
          },
          "onboardingSteps": {
            "type": "array",
            "description": "The onboarding steps enabled for the team, as {step, config?, displayMode?} entries. Returned on the single-team read.",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/OnboardingStep"
            }
          },
          "onboardingWelcomeText": {
            "description": "The app-onboarding welcome-screen text override. Returned on the single-team read; null when never configured (Monta's default copy is shown).",
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/OnboardingWelcomeText_1"
              }
            ]
          },
          "autoWithdrawEnabled": {
            "type": "boolean",
            "description": "Whether automatic bank withdrawal is on for the team (equivalent to `autoWithdrawNextAt` being set). Mutually exclusive with `invoiceWithdraw` (see the team settings), but legacy teams can have both set, so check `invoiceWithdraw` as well.",
            "example": true
          },
          "autoWithdrawNextAt": {
            "type": "string",
            "description": "When the next automatic withdrawal is due; null when automatic withdrawal is off. A payout only happens when the team also has a bank account, is not frozen and has enough balance.",
            "format": "date-time",
            "nullable": true,
            "example": "2026-11-01T00:00:00Z"
          },
          "hasPaymentCard": {
            "type": "boolean",
            "description": "Whether this team has at least one saved card, including expired cards. Check `paymentMethods[].expired` to determine whether a saved card is still valid. Only returned on the single team read, and only when the consumer also has the `wallet-transactions:read` scope. Always null on team lists; null when the lookup failed.",
            "nullable": true,
            "example": true
          },
          "paymentMethods": {
            "type": "array",
            "description": "Saved payment method summaries (brand, last four digits, expiry). Only returned on the single team read, and only when the consumer also has the `wallet-transactions:read` scope. Always null on team lists; null when the lookup failed.",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/SavedPaymentMethod"
            }
          }
        }
      },
      "TeamDto.TeamAddressDto": {
        "type": "object",
        "properties": {
          "address1": {
            "type": "string",
            "description": "First line of address",
            "nullable": true,
            "example": "Strandboulevarden 122"
          },
          "address2": {
            "type": "string",
            "description": "Second line of address",
            "nullable": true,
            "example": "København"
          },
          "address3": {
            "type": "string",
            "description": "Third line of address",
            "nullable": true,
            "example": "5. sal"
          },
          "city": {
            "type": "string",
            "description": "The address city",
            "nullable": true,
            "example": "Berlin"
          },
          "province": {
            "type": "string",
            "description": "The address province",
            "nullable": true,
            "example": "Lombardy"
          },
          "countrySubdivisionCode": {
            "type": "string",
            "description": "ISO 3166-2 country subdivision code",
            "nullable": true,
            "example": "US-GA"
          },
          "zipCode": {
            "type": "string",
            "description": "The address zip code",
            "nullable": true,
            "example": "10011"
          },
          "countryId": {
            "type": "integer",
            "description": "The address country",
            "format": "int64",
            "example": 1
          }
        }
      },
      "TeamDto.TeamCategoryDto": {
        "required": [
          "identifier",
          "name"
        ],
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string",
            "description": "Category identifier, one of: `home`, `housing-association`, `cpo`, `parking`, `hotel`, `fleet`, `company`, `priced-by-site-owner`.",
            "example": "cpo"
          },
          "name": {
            "type": "string",
            "description": "Category name",
            "example": "Charge Point Operator"
          }
        }
      },
      "TeamDto.TeamTagDto": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Tag id",
            "format": "int64",
            "example": 1
          },
          "name": {
            "type": "string",
            "description": "Tag identifier",
            "example": "cpo"
          }
        }
      },
      "TeamPaymentMethod": {
        "type": "string",
        "enum": [
          "invoice",
          "operator_transaction",
          "source",
          "unknown"
        ],
        "x-enum-descriptions": [
          "Payment method where the team is billed via invoice.</br>*Note:* When using this payment method, `vatNumber` and `financeEmail` should be present for the team.</br>Invoice payment method should be approved by Monta's finance team.",
          "Revenue, expenses, and other activities are recorded in your Wallet in real time. On a recurring basis, the Wallet balance is transferred to your Operator via an `Operator Transaction`",
          "Payment method where the team is billed via a source (e.g., credit card or by topping up wallet).</br>*Note:* This is the default payment method for teams.",
          "Unknown payment method is used as a fallback when the payment method is not recognized.</br>*Note:* This is not allowed to be used as a type of payment method, if used it will throw an error."
        ]
      },
      "UpdateTeamStateDto": {
        "type": "object",
        "properties": {
          "reason": {
            "type": "string",
            "description": "Team freezing reason",
            "nullable": true,
            "example": "removed team"
          }
        }
      }
    },
    "securitySchemes": {
      "BearerAccessToken": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "x-stability-level": "stable"
}
```