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

# Turn a client reviewer off or on

> Stop a client's review link working without removing them, or turn it back on.

> [!NOTE]
>
> Needs `team:update`, and a role in the workspace that can edit the team: owners and managers can. See [Permissions](/docs/essentials/authentication.md#permissions).

`{id}` is the client's `id` from [the client list](/docs/api-reference/team/client-reviewers-list.md), and `workspace_id` names the workspace. Send `disabled: true` to turn a client added by email off: their review link stops working at once, and what they answered stays on the posts.

Send `disabled: false` to turn them back on. They get a new link, and the old one stays dead. The answer doesn't carry it: [resend it](/docs/api-reference/team/client-reviewers-resend.md) to email it to them. Turning on a client who is already on changes nothing. A former Client member's row, turned off when they left, comes back on as a client added by email.

A Client member of the workspace (`kind: member`) isn't managed here: the answer is `422`. Change their role or [remove them from the team](/docs/api-reference/team/remove.md) instead.

Every plan, Free included. While client approvals are off for the workspace, the answer is `403` with the message `Client approvals aren't turned on for this workspace yet.`

## Errors

| Status | `error` | When | Retry? |
| - | - | - | - |
| 401 | | No API key, or not a valid one. | No: fix the key. |
| 403 | | The key lacks `team:update`, or its user is inactive. | No: grant it in Settings → API. |
| 403 | | Your role in the workspace can't edit the team, or client approvals are off for the workspace. | No. |
| 404 | | No client with that id in the workspace. | No. |
| 422 | | No `workspace_id` or `disabled`, a workspace the key can't reach, or the client is a Client member. | No: fix the request. |
| 429 | | More than 60 requests a minute. | Yes, after `Retry-After` seconds. |

## Related

* [List client reviewers](/docs/api-reference/team/client-reviewers-list.md): the clients and their ids.
* [Resend a client's review link](/docs/api-reference/team/client-reviewers-resend.md): email them the new link.


## OpenAPI

````yaml PUT /client-reviewers/{id}
openapi: 3.0.3
info:
  title: PostSyncer API
  description: >-
    Post to 14 social networks from your code: posts, media, comments,
    analytics, webhooks and more.
  version: 1.0.0
servers:
  - url: https://postsyncer.com/api/v1
security:
  - bearerAuth: []
tags:
  - name: Workspaces
    description: The workspaces the key can reach.
  - name: Accounts
    description: Connected social accounts, links to connect more, and disconnecting them.
  - name: Posts
    description: Drafts, scheduled and published posts, approvals and a post's history.
  - name: Post settings
    description: A post's auto-plug, comment moderation and contact collection.
  - name: Media
    description: >-
      The media library: file uploads, URL imports, and reading videos and
      social posts' files.
  - name: Folders
    description: Folders that organise the media library.
  - name: Comments
    description: >-
      Comments on your posts: reading, replying, editing, hiding, deleting and
      syncing them.
  - name: Reviews
    description: Google Business Profile reviews and your replies to them.
  - name: Analytics
    description: Workspace, account and post performance.
  - name: Brand
    description: >-
      A workspace's brand: identity, voice, look, accounts, competitors,
      learnings and rules.
  - name: Labels
    description: Labels used to tag posts.
  - name: Campaigns
    description: Campaigns used to group posts.
  - name: Snippets
    description: Saved snippets and hashtag groups to drop into posts.
  - name: Webhooks
    description: Signed webhook endpoints that get your notification events.
  - name: Billing
    description: >-
      The owner's plan, invoices and the links that pay for, change or cancel
      it.
  - name: Team
    description: A workspace's teammates and invitations, and their roles.
  - name: Notifications
    description: >-
      Your bell and notification settings, and the workspace's Slack, Discord
      and Telegram channels.
  - name: Blog-to-social
    description: Blog feeds that turn a workspace's new articles into posts.
  - name: Products
    description: Products the workspace's posts can promote.
  - name: Contacts
    description: People who commented on the workspace's posts, and the lists they are on.
  - name: Profile
    description: 'The key''s user: their name and sign-in email.'
  - name: API keys
    description: 'Your API keys: listing and deleting them.'
  - name: Agent sign-up
    description: >-
      An AI agent signs a person up with a code emailed to them, and gets their
      first key. No key needed.
paths:
  /client-reviewers/{id}:
    put:
      tags:
        - Team
      summary: Turn a client reviewer off or on
      description: >-
        Needs `team:update`. Your role in the workspace must also let you edit
        the team: owners and managers can. Send `disabled: true` to turn a
        client added by email off: their review link stops working at once, and
        what they answered stays on the posts. Send `disabled: false` to turn
        them back on: they get a new link, the old one stays dead, and [Resend a
        client's review link](/api-reference/team/client-reviewers-resend)
        emails the new one to them. A former Client member's row, turned off
        when they left, comes back on as a client added by email. It emails no
        one itself. A Client member of the workspace (`kind: member`) is managed
        on the team instead, so the answer is `422`. Every plan, Free included.
        While client approvals are off for the workspace, the answer is `403`.
      operationId: updateClientReviewer
      parameters:
        - name: id
          in: path
          required: true
          description: The client's `id` in the client list.
          schema:
            type: integer
            example: 31
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - workspace_id
                - disabled
              properties:
                workspace_id:
                  type: integer
                  description: The workspace. It must be one the key can reach.
                disabled:
                  type: boolean
                  description: True to turn the client off, false to turn them back on.
            examples:
              default:
                summary: Turn a client off
                value:
                  workspace_id: 12
                  disabled: true
              'on':
                summary: Turn them back on
                value:
                  workspace_id: 12
                  disabled: false
      responses:
        '200':
          description: The client after the change.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientReviewer'
              examples:
                default:
                  summary: A client turned off
                  value:
                    id: 31
                    name: Priya Nair
                    email: priya@brightroasters.example
                    kind: reviewer
                    digest: instant
                    disabled: true
                    added_at: '2030-02-04T09:30:00+00:00'
        '401':
          $ref: '#/components/responses/Unauthorized401'
        '403':
          description: >-
            The key lacks `team:update`, its user is inactive, your role in the
            workspace can't edit the team, or client approvals are off for the
            workspace.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                missing_permission:
                  summary: The key lacks team:update
                  value:
                    message: >-
                      This API key does not have the "team:update" permission.
                      Edit the key in PostSyncer under Settings → API to grant
                      it.
                role:
                  summary: The role can't edit team members
                  value:
                    message: >-
                      Your role in the workspace "Halden Coffee" does not allow
                      you to edit team members. Ask the workspace owner or a
                      manager to do it, or to change your role.
                'off':
                  summary: Client approvals are off for the workspace
                  value:
                    message: Client approvals aren't turned on for this workspace yet.
                inactive_account:
                  summary: The key's user is inactive
                  value:
                    message: Your account is inactive.
        '404':
          description: No client with that id in the workspace.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                not_found:
                  summary: Not a client of the workspace
                  value:
                    message: Client reviewer not found.
        '422':
          description: >-
            No `workspace_id`, one the key can't reach, no `disabled`, or the
            client is a Client member of the workspace.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
              examples:
                workspace_id_missing:
                  summary: No workspace_id
                  value:
                    message: The workspace id field is required.
                    errors:
                      workspace_id:
                        - The workspace id field is required.
                workspace_id:
                  summary: Not a workspace the key can reach
                  value:
                    message: Invalid workspace ID.
                    errors:
                      workspace_id:
                        - Invalid workspace ID.
                disabled_missing:
                  summary: No disabled
                  value:
                    message: The disabled field is required.
                    errors:
                      disabled:
                        - The disabled field is required.
                member:
                  summary: A Client member
                  value:
                    message: >-
                      This person is a Client member of the workspace. Change
                      their role or remove them on the team instead.
                    errors:
                      id:
                        - >-
                          This person is a Client member of the workspace.
                          Change their role or remove them on the team instead.
        '429':
          $ref: '#/components/responses/RateLimited429'
components:
  schemas:
    ClientReviewer:
      type: object
      description: >-
        A client who signs posts off through a review link that needs no login.
        The link is never in this shape: it is given once, when the client is
        added.
      required:
        - id
        - name
        - email
        - kind
        - digest
        - disabled
        - added_at
      properties:
        id:
          type: integer
          description: 'The client''s id: the `{id}` to remove them or send their link again.'
        name:
          type: string
        email:
          type: string
        kind:
          type: string
          enum:
            - member
            - reviewer
          description: >-
            `member` is a Client-role member of the workspace; `reviewer` was
            added by email.
        digest:
          type: string
          enum:
            - instant
            - daily
          description: How often they get emails about posts waiting for them.
        disabled:
          type: boolean
          description: 'True when the client is turned off: their link no longer works.'
        added_at:
          type: string
          format: date-time
          nullable: true
          description: When they were added.
    Error:
      type: object
      description: >-
        An error answer. Every one has `message`, in plain words; some add an
        `error` code and fields of their own.
      required:
        - message
      properties:
        message:
          type: string
          description: What went wrong and what to do about it.
        error:
          type: string
          description: >-
            A code a few errors add, such as `rate_limited`. See [Handle
            errors](/essentials/error-handling#answers-with-an-error-code).
    ValidationError:
      type: object
      description: '422: the request didn''t pass validation, and nothing changed.'
      required:
        - message
        - errors
      properties:
        message:
          type: string
          description: >-
            The first error and, when there are more, how many: `(and 1 more
            error)`, `(and 2 more errors)`.
        errors:
          type: object
          description: >-
            The messages, by field. A field inside a list is named with dots:
            `accounts.0.id`.
          additionalProperties:
            type: array
            items:
              type: string
  responses:
    Unauthorized401:
      description: No API key, or not a valid one.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            unauthenticated:
              summary: No valid API key
              value:
                message: Unauthenticated.
    RateLimited429:
      description: >-
        More than 60 requests in a minute from this key's user (the API and the
        MCP server share the count). Wait `Retry-After` seconds.
      headers:
        Retry-After:
          description: Seconds until requests are allowed again.
          schema:
            type: integer
        X-RateLimit-Limit:
          description: Requests allowed a minute.
          schema:
            type: integer
        X-RateLimit-Remaining:
          description: Requests left this minute.
          schema:
            type: integer
        X-RateLimit-Reset:
          description: When requests are allowed again, as a Unix timestamp.
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            too_many_attempts:
              summary: Too many requests
              value:
                message: Too Many Attempts.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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