---
title: "PATCH /members/{userID}"
method: PATCH
path: "/members/{userID}"
tags: ["Organization Member"]
---

# PATCH /members/{userID}

`PATCH /members/{userID}`

Updates existing authorization of a member

## Path parameters

- `userID` string, required

## Headers

- `Authorization` string, required

## Request body

- OrganizationMemberPatch
  - `roles` string[]

## Response `200`

OK

- object
  - `additionalMessage` string
  - `code` string
  - `data` OrganizationMember
    - `createdAt` string
    - `dailyAmountLimit` number
    - `id` string, uuid4
    - `lastDayUsage` number
    - `lastMonthUsage` number
    - `monthlyAmountLimit` number
    - `organizationID` string, uuid4
    - `owner` string
    - `roles` string[]
    - `test` boolean
    - `updatedAt` string
    - `userEmail` string
    - `userID` string, uuid4
  - `message` string
  - `result` boolean

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `500` — Internal Server Error

---

[API](https://skmtc.dev/geliver/apis/geliver-api.md) · [All operations](https://skmtc.dev/geliver/apis/geliver-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/geliver/geliver-api/revisions/b477e23b5716/schema)
