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

# Remove an address from a portal

> Ask the person before calling this: the address stops serving the portal. The permanent address can't be removed (409). A custom domain may answer `removing` while its certificate is taken down.



## OpenAPI

````yaml /api/statisfy-api.openapi.json delete /v1/portals/{portal_id}/domains/{hostname}
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/portals/{portal_id}/domains/{hostname}:
    delete:
      tags:
        - portals
      summary: Remove an address from a portal
      description: >-
        Ask the person before calling this: the address stops serving the
        portal. The permanent address can't be removed (409). A custom domain
        may answer `removing` while its certificate is taken down.
      operationId: portals_remove_domain
      parameters:
        - description: >-
            The portal's id, as GET /v1/portals (or the portal_list MCP tool)
            returns it
          in: path
          name: portal_id
          required: true
          schema:
            format: uuid
            type: string
        - description: The full hostname, such as help.acme.com or acme-x1y2.statisfy.app
          in: path
          name: hostname
          required: true
          schema:
            maxLength: 253
            minLength: 1
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RemovedDomain'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    RemovedDomain:
      properties:
        hostname:
          title: Hostname
          type: string
        status:
          description: >-
            deleted, or removing while a custom domain's certificate is taken
            down
          enum:
            - deleted
            - removing
          title: Status
          type: string
      required:
        - hostname
        - status
      title: RemovedDomain
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

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