---
title: "Update a Team Member"
method: PUT
path: "/v1/team_members/{id}"
tags: ["Team Members"]
---

# Update a Team Member

`PUT /v1/team_members/{id}`

Update a TeamMember using this action. It requires a JSON object containing an TeamMember.

## Request body

- object
  - `id` number, required — The ID of the TeamMember to update.
  - `name` string — The name of the TeamMember user.
  - `email` string — The email address of the TeamMember user.
  - `department_permissions` object[] — This parameter will override any existing permissions, not append to them.
    - `department_id` number, required — Department that the TeamMember should have the given permissions for.
    - `permissions` object, required
      - `designs` boolean, required — Should the TeamMember have access to Designs for the given Department?
      - `emails` boolean, required — Should the TeamMember have access to Email Settings and Email Templates for the given Department?
      - `credential_attributes` boolean, required — Should the TeamMember have access to Attributes for the given Department?
      - `analytics` boolean, required — Should the TeamMember have access to Analytics for the given Department?
      - `settings` boolean, required — Should the TeamMember have access to Settings for the given Department?
      - `role` string, required — "editor" or "viewer" access to Credential data in the Department.
      - `pathways` boolean — Should the TeamMember have access to Pathways for the given Department?
      - `groups` unknown

## Response `200`

OK

- object
  - `team_member` object
    - `id` number
    - `name` string
    - `email` string
    - `department_permissions` object[]
      - `department_id` number, required
      - `permissions` object, required
        - `designs` boolean
        - `emails` boolean
        - `credential_attributes` boolean
        - `analytics` boolean
        - `settings` boolean
        - `role` string
        - `pathways` boolean
        - `groups` number[], nullable

---

[API](https://skmtc.net/accredible/apis/accredible-credential-api.md) · [All operations](https://skmtc.net/accredible/apis/accredible-credential-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/accredible/accredible-credential-api/revisions/56b317c13686/schema)
