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

# Change an organisation's company logo

> A JSON Merge Patch with one field, `companyLogoAssetId`, from this organisation's own upload route; `null` removes the logo. When both the company and the account have a logo, the company logo is shown with "Powered by" and the account's logo. Anyone who can open the organisation may change it, whatever account they belong to; the logo is filed under the organisation's own account. 409 `organisation_has_no_account` when the organisation is not linked to an account yet.



## OpenAPI

````yaml /api-reference/specs/administration.json patch /organisations/{organisationId}/branding
openapi: 3.0.1
info:
  title: Administration API
  description: >-
    Manage your Flow Payroll account: the organisations it owns, the people who
    can sign in to it, the API tokens it holds, its brand, and a feed of recent
    administration activity. Every resource is scoped to the account your
    credentials belong to, so no request ever names a customer and the
    `X-Org-Id` header is not used.
  version: v1
servers:
  - url: https://api.sandbox.flowpayroll.ai/v1/administration
security:
  - X-Auth-Token: []
tags:
  - name: Customer
    description: >-
      Your account: the customer every other resource on this API belongs to.
      Read it and rename it.
  - name: Organisations
    description: >-
      The organisations your account owns: list them with headcounts and your
      access to each, get one in full, and add one or several at a time.
  - name: Users
    description: >-
      The people who can sign in to your account: list, invite (one or many),
      resend invitations, and manage each person's direct grants and
      account-wide access.
  - name: API tokens
    description: >-
      The client credentials your integrations authenticate with: create (the
      secret is shown once), rename, rotate, revoke, and manage which
      organisations each token reaches.
  - name: Activity
    description: Recent administration actions in your account, newest first.
paths:
  /organisations/{organisationId}/branding:
    patch:
      tags:
        - Organisations
      summary: Change an organisation's company logo
      description: >-
        A JSON Merge Patch with one field, `companyLogoAssetId`, from this
        organisation's own upload route; `null` removes the logo. When both the
        company and the account have a logo, the company logo is shown with
        "Powered by" and the account's logo. Anyone who can open the
        organisation may change it, whatever account they belong to; the logo is
        filed under the organisation's own account. 409
        `organisation_has_no_account` when the organisation is not linked to an
        account yet.
      operationId: UpdateOrganisationBranding
      parameters:
        - name: organisationId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/merge-patch+json:
            schema:
              $ref: '#/components/schemas/UpdateOrganisationBrandingRequest'
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateOrganisationBrandingRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganisationBrandingResponseResponseBody'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ObjectResponseBody'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ObjectResponseBody'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ObjectResponseBody'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ObjectResponseBody'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ObjectResponseBody'
components:
  schemas:
    UpdateOrganisationBrandingRequest:
      type: object
      properties:
        companyLogoAssetId:
          type: string
          description: >-
            From `POST /customer/branding/assets`; `null` removes the company
            logo.
          nullable: true
      additionalProperties: false
      description: >-
        A JSON Merge Patch of an organisation's branding. The company logo is
        the only field an organisation sets.
    OrganisationBrandingResponseResponseBody:
      type: object
      properties:
        message:
          $ref: '#/components/schemas/MessageWithTokenResponse'
        content:
          $ref: '#/components/schemas/OrganisationBrandingResponseContentResponse'
        validationIssues:
          type: array
          items:
            $ref: '#/components/schemas/ValidationIssue'
          nullable: true
      additionalProperties: false
    ObjectResponseBody:
      type: object
      properties:
        message:
          $ref: '#/components/schemas/MessageWithTokenResponse'
        content:
          $ref: '#/components/schemas/ObjectContentResponse'
        validationIssues:
          type: array
          items:
            $ref: '#/components/schemas/ValidationIssue'
          nullable: true
      additionalProperties: false
    MessageWithTokenResponse:
      type: object
      properties:
        text:
          type: string
        token:
          type: string
        tokenArguments:
          type: array
          items:
            $ref: '#/components/schemas/ValidationIssueArgument'
          nullable: true
      additionalProperties: false
    OrganisationBrandingResponseContentResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/OrganisationBrandingResponse'
        metadata:
          $ref: '#/components/schemas/ContentMetadataResponse'
      additionalProperties: false
    ValidationIssue:
      type: object
      properties:
        field:
          type: string
        reason:
          type: string
        reasonToken:
          type: string
        reasonTokenArguments:
          type: array
          items:
            $ref: '#/components/schemas/ValidationIssueArgument'
          nullable: true
      additionalProperties: false
    ObjectContentResponse:
      type: object
      properties:
        data:
          nullable: true
        metadata:
          $ref: '#/components/schemas/ContentMetadataResponse'
      additionalProperties: false
    ValidationIssueArgument:
      type: object
      properties:
        name:
          type: string
        value:
          nullable: true
      additionalProperties: false
    OrganisationBrandingResponse:
      type: object
      properties:
        organisationId:
          type: string
        companyLogoAssetId:
          type: string
          nullable: true
        companyLogoSvgUrl:
          type: string
          nullable: true
        accountOfRecord:
          $ref: '#/components/schemas/AccountOfRecordResponse'
      additionalProperties: false
      description: >-
        An organisation's own branding: its company logo, and whose brand it
        carries.
    ContentMetadataResponse:
      type: object
      properties:
        dateFormat:
          type: string
        dateTimeFormat:
          type: string
        paginationToken:
          type: string
          nullable: true
      additionalProperties: false
    AccountOfRecordResponse:
      type: object
      properties:
        customerId:
          type: string
          description: Null when Source is `None`.
          nullable: true
        source:
          enum:
            - None
            - Owner
            - Managing
          type: string
          description: Who decided an organisation's account of record.
      additionalProperties: false
      description: Whose brand an organisation's employees get. Read-only to customers.
  securitySchemes:
    X-Auth-Token:
      type: apiKey
      description: FlowPayroll JWT (raw token, no Bearer prefix)
      name: X-Auth-Token
      in: header

````

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