FusionAuth · Capability

FusionAuth API — Theme

FusionAuth API — Theme. 7 operations. Lead operation: Retrieves the theme for the given Id.. Self-contained Naftiko capability covering one business surface.

FusionAuth API — Theme is a Naftiko capability published by FusionAuth, one of 33 capabilities the APIs.io network indexes for this provider. It bundles 7 operations across the POST, DELETE, PATCH, GET, and PUT methods rooted at /v1/api/theme.

The capability includes 1 read-only operation and 6 state-changing operations. Lead operation: Creates a Theme. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include FusionAuth and Theme.

Run with Naftiko FusionAuthTheme

What You Can Do

POST
Createtheme — Creates a Theme. You can optionally specify an Id for the theme, if not provided one will be generated.
/v1/api/theme
POST
Searchthemeswithid — Searches themes with the specified criteria and pagination.
/v1/api/theme/search
POST
Createthemewithid — Creates a Theme. You can optionally specify an Id for the theme, if not provided one will be generated.
/v1/api/theme/{themeId}
DELETE
Deletethemewithid — Deletes the theme for the given Id.
/v1/api/theme/{themeId}
PATCH
Patchthemewithid — Updates, via PATCH, the theme with the given Id.
/v1/api/theme/{themeId}
GET
Retrievethemewithid — Retrieves the theme for the given Id.
/v1/api/theme/{themeId}
PUT
Updatethemewithid — Updates the theme with the given Id.
/v1/api/theme/{themeId}

MCP Tools

fusionauth-createtheme

Creates a Theme. You can optionally specify an Id for the theme, if not provided one will be generated.

fusionauth-searchthemeswithid

Searches themes with the specified criteria and pagination.

fusionauth-createthemewithid

Creates a Theme. You can optionally specify an Id for the theme, if not provided one will be generated.

fusionauth-deletethemewithid

Deletes the theme for the given Id.

idempotent
fusionauth-patchthemewithid

Updates, via PATCH, the theme with the given Id.

fusionauth-retrievethemewithid

Retrieves the theme for the given Id.

read-only idempotent
fusionauth-updatethemewithid

Updates the theme with the given Id.

idempotent

Capability Spec

fusionauth-theme.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: FusionAuth API — Theme
  description: 'FusionAuth API — Theme. 7 operations. Lead operation: Retrieves the theme for the given Id.. Self-contained Naftiko capability covering one business surface.'
  tags:
  - FusionAuth
  - Theme
  created: '2026-05-20'
  modified: '2026-05-20'
binds:
- namespace: env
  keys:
    FUSIONAUTH_API_KEY: FUSIONAUTH_API_KEY
capability:
  consumes:
  - type: http
    namespace: fusionauth-theme
    baseUri: http://localhost:9011
    description: FusionAuth API — Theme business capability. Self-contained, no shared references.
    resources:
    - name: api-theme
      path: /api/theme
      operations:
      - name: createtheme
        method: POST
        description: Creates a Theme. You can optionally specify an Id for the theme, if not provided one will be generated.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-theme-search
      path: /api/theme/search
      operations:
      - name: searchthemeswithid
        method: POST
        description: Searches themes with the specified criteria and pagination.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-theme-themeid
      path: /api/theme/{themeId}
      operations:
      - name: createthemewithid
        method: POST
        description: Creates a Theme. You can optionally specify an Id for the theme, if not provided one will be generated.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: themeId
          in: path
          type: string
          description: The Id for the theme. If not provided a secure random UUID will be generated.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deletethemewithid
        method: DELETE
        description: Deletes the theme for the given Id.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: themeId
          in: path
          type: string
          description: The Id of the theme to delete.
          required: true
      - name: patchthemewithid
        method: PATCH
        description: Updates, via PATCH, the theme with the given Id.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: themeId
          in: path
          type: string
          description: The Id of the theme to update.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: retrievethemewithid
        method: GET
        description: Retrieves the theme for the given Id.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: themeId
          in: path
          type: string
          description: The Id of the theme.
          required: true
      - name: updatethemewithid
        method: PUT
        description: Updates the theme with the given Id.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: themeId
          in: path
          type: string
          description: The Id of the theme to update.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
  exposes:
  - type: rest
    namespace: fusionauth-theme-rest
    port: 8080
    description: REST adapter for FusionAuth API — Theme. One resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/api/theme
      name: api-theme
      description: REST surface for api-theme.
      operations:
      - method: POST
        name: createtheme
        description: Creates a Theme. You can optionally specify an Id for the theme, if not provided one will be generated.
        call: fusionauth-theme.createtheme
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/theme/search
      name: api-theme-search
      description: REST surface for api-theme-search.
      operations:
      - method: POST
        name: searchthemeswithid
        description: Searches themes with the specified criteria and pagination.
        call: fusionauth-theme.searchthemeswithid
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/theme/{themeId}
      name: api-theme-themeid
      description: REST surface for api-theme-themeid.
      operations:
      - method: POST
        name: createthemewithid
        description: Creates a Theme. You can optionally specify an Id for the theme, if not provided one will be generated.
        call: fusionauth-theme.createthemewithid
        with:
          themeId: rest.themeId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletethemewithid
        description: Deletes the theme for the given Id.
        call: fusionauth-theme.deletethemewithid
        with:
          themeId: rest.themeId
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patchthemewithid
        description: Updates, via PATCH, the theme with the given Id.
        call: fusionauth-theme.patchthemewithid
        with:
          themeId: rest.themeId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: retrievethemewithid
        description: Retrieves the theme for the given Id.
        call: fusionauth-theme.retrievethemewithid
        with:
          themeId: rest.themeId
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatethemewithid
        description: Updates the theme with the given Id.
        call: fusionauth-theme.updatethemewithid
        with:
          themeId: rest.themeId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: fusionauth-theme-mcp
    port: 9090
    transport: http
    description: MCP adapter for FusionAuth API — Theme. One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: fusionauth-createtheme
      description: Creates a Theme. You can optionally specify an Id for the theme, if not provided one will be generated.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: fusionauth-theme.createtheme
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: fusionauth-searchthemeswithid
      description: Searches themes with the specified criteria and pagination.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: fusionauth-theme.searchthemeswithid
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: fusionauth-createthemewithid
      description: Creates a Theme. You can optionally specify an Id for the theme, if not provided one will be generated.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: fusionauth-theme.createthemewithid
      with:
        themeId: tools.themeId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: fusionauth-deletethemewithid
      description: Deletes the theme for the given Id.
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: fusionauth-theme.deletethemewithid
      with:
        themeId: tools.themeId
      outputParameters:
      - type: object
        mapping: $.
    - name: fusionauth-patchthemewithid
      description: Updates, via PATCH, the theme with the given Id.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: fusionauth-theme.patchthemewithid
      with:
        themeId: tools.themeId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: fusionauth-retrievethemewithid
      description: Retrieves the theme for the given Id.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: fusionauth-theme.retrievethemewithid
      with:
        themeId: tools.themeId
      outputParameters:
      - type: object
        mapping: $.
    - name: fusionauth-updatethemewithid
      description: Updates the theme with the given Id.
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: fusionauth-theme.updatethemewithid
      with:
        themeId: tools.themeId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.