{
  "opencollection": "1.0.0",
  "info": {
    "name": "Supabase Auth Admin Domains API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "apikey",
      "value": "{{apikey}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Domains",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get custom hostname configuration",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{project_ref}.supabase.co/auth/v1/projects/:ref/custom-hostname",
            "params": [
              {
                "name": "ref",
                "value": "",
                "type": "path",
                "description": "The unique reference ID for the project, found in the project settings or URL."
              }
            ]
          },
          "docs": "Retrieves the custom hostname configuration for a project including its current status and verification records."
        },
        {
          "info": {
            "name": "Activate custom hostname",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{project_ref}.supabase.co/auth/v1/projects/:ref/custom-hostname",
            "params": [
              {
                "name": "ref",
                "value": "",
                "type": "path",
                "description": "The unique reference ID for the project, found in the project settings or URL."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Activates a custom hostname for the project. The custom domain must have DNS records properly configured before activation."
        },
        {
          "info": {
            "name": "Remove custom hostname",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{project_ref}.supabase.co/auth/v1/projects/:ref/custom-hostname",
            "params": [
              {
                "name": "ref",
                "value": "",
                "type": "path",
                "description": "The unique reference ID for the project, found in the project settings or URL."
              }
            ]
          },
          "docs": "Removes the custom hostname configuration from a project, reverting to the default supabase.co subdomain."
        },
        {
          "info": {
            "name": "Get vanity subdomain",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{project_ref}.supabase.co/auth/v1/projects/:ref/vanity-subdomain",
            "params": [
              {
                "name": "ref",
                "value": "",
                "type": "path",
                "description": "The unique reference ID for the project, found in the project settings or URL."
              }
            ]
          },
          "docs": "Retrieves the vanity subdomain configuration for a project."
        },
        {
          "info": {
            "name": "Activate vanity subdomain",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{project_ref}.supabase.co/auth/v1/projects/:ref/vanity-subdomain",
            "params": [
              {
                "name": "ref",
                "value": "",
                "type": "path",
                "description": "The unique reference ID for the project, found in the project settings or URL."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Activates a vanity subdomain on supabase.co for the project. Use of vanity subdomains and custom domains is mutually exclusive."
        },
        {
          "info": {
            "name": "Remove vanity subdomain",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{project_ref}.supabase.co/auth/v1/projects/:ref/vanity-subdomain",
            "params": [
              {
                "name": "ref",
                "value": "",
                "type": "path",
                "description": "The unique reference ID for the project, found in the project settings or URL."
              }
            ]
          },
          "docs": "Removes the vanity subdomain from a project."
        }
      ]
    }
  ],
  "bundled": true
}