> ## Documentation Index
> Fetch the complete documentation index at: https://docs.morphllm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove Member Budget

> Remove a member's monthly budget at /api/v1/org/members/{userId}/budget

## Overview

Removes an organization member's monthly budget. A member who was paused at the budget can use the organization's keys again right away. Requires an organization API key owned by an organization admin.


## OpenAPI

````yaml DELETE /api/v1/org/members/{userId}/budget
openapi: 3.1.0
info:
  title: Morph API
  version: 1.2.0
  description: >-
    The Morph public API at api.morphllm.com: OpenAI- and Anthropic-compatible
    inference (chat completions, messages), Fast Apply code editing, Compact
    context compression, System One typed decisions, model listing, and
    dedicated endpoint management, agentic credit top-ups paid over x402, and
    organization member budgets. Model ids, prices, and context windows are
    served live at https://www.morphllm.com/api/models/json.
  contact:
    name: Morph
    url: https://morphllm.com
    email: info@morphllm.com
  license:
    name: Proprietary
    url: https://morphllm.com/privacy/tos
servers:
  - url: https://api.morphllm.com
    description: Production
security: []
tags:
  - name: chat
    description: >-
      OpenAI- and Anthropic-compatible chat inference, including Fast Apply and
      WarpGrep models.
  - name: compact
    description: Context compression for long agent conversations.
  - name: systemone
    description: 'Typed decisions: a state in, a probability distribution per question out.'
  - name: models
    description: Model listing.
  - name: dedicated
    description: Dedicated endpoint discovery, status, and cancellation.
  - name: credits
    description: Agentic credit top-ups paid in USDC over x402.
  - name: organization
    description: Organization member budgets.
  - name: telemetry
    description: Usage reporting hooks.
paths:
  /api/v1/org/members/{userId}/budget:
    delete:
      tags:
        - organization
      summary: Remove a member budget
      description: >-
        Removes a member’s monthly budget and resumes them if they were paused.
        Requires an organization API key owned by an organization admin.
      operationId: deleteMemberBudget
      parameters:
        - schema:
            type: string
            description: User id of the member whose budget to remove.
            example: user_2xKq8T1fJ3mZ5bR9cW7vN4pL6hD
          required: true
          description: Which member’s budget to remove.
          name: userId
          in: path
      responses:
        '200':
          description: The member with no budget.
          content:
            application/json:
              example:
                userId: user_2xKq8T1fJ3mZ5bR9cW7vN4pL6hD
                monthlyLimit: null
                spent: '12.34'
                paused: false
              schema:
                $ref: '#/components/schemas/MemberBudget'
        '401':
          $ref: '#/components/responses/OrgUnauthorized'
        '403':
          $ref: '#/components/responses/OrgForbidden'
        '404':
          description: The user is not a member of the key’s organization.
          content:
            application/json:
              example:
                error: Member not found
              schema:
                $ref: '#/components/schemas/OrgError'
      security:
        - bearerAuth: []
components:
  schemas:
    MemberBudget:
      type: object
      properties:
        userId:
          type: string
          description: The member’s user id.
          example: user_2xKq8T1fJ3mZ5bR9cW7vN4pL6hD
        monthlyLimit:
          type:
            - string
            - 'null'
          description: >-
            Monthly budget in USD, two decimals. Null when the member has no
            budget.
          example: '50.00'
        spent:
          type: string
          description: >-
            The member’s spend on the organization’s keys this UTC month, in USD
            at the organization’s prices. Updated about every 30 minutes.
          example: '12.34'
        paused:
          type: boolean
          description: >-
            True once spend reached the budget. The member’s organization keys
            get `429 member_budget_exceeded` until the budget is raised or
            removed, or the next UTC month starts.
          example: false
      required:
        - userId
        - monthlyLimit
        - spent
        - paused
      description: A member’s monthly budget and spend.
      example:
        userId: user_2xKq8T1fJ3mZ5bR9cW7vN4pL6hD
        monthlyLimit: '50.00'
        spent: '12.34'
        paused: false
    OrgError:
      type: object
      properties:
        error:
          type: string
          description: Why the request failed.
          example: Member not found
      required:
        - error
      description: Error body returned by the organization routes.
      example:
        error: Member not found
  responses:
    OrgUnauthorized:
      description: Missing or invalid Morph API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/OrgError'
          example:
            error: Unauthorized
    OrgForbidden:
      description: >-
        The key is a personal key, or belongs to an organization member who is
        not an admin.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/OrgError'
          example:
            error: Only an organization admin can manage member budgets
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: >-
        Morph API key, passed as `Authorization: Bearer sk-...`. Create keys at
        https://www.morphllm.com/dashboard/api-keys.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.