---
title: "Update Platform Role"
method: PATCH
path: "/api/advisory/members/{advisor_id}/role"
tags: ["access"]
---

# Update Platform Role

`PATCH /api/advisory/members/{advisor_id}/role`

## Request

- Base URL: `https://api.flagpost.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.flagpost.ai/api/advisory/members/{advisor_id}/role`
- Auth: HTTP bearer

Update an advisor's platform role (admin only).

## Path parameters

- `advisor_id` string, required

## Request body

- UpdatePlatformRoleRequest
  - `role` 'admin' | 'member', required

## Response `200`

Successful Response

- AdvisoryMemberResponse
  - `id` string, uuid, required
  - `email` string, required
  - `full_name` string, required
  - `role` 'admin' | 'member', required
  - `enabled` boolean, required
  - `created_at` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/flagpost/apis/flagpost-api.md) - [All operations](https://skmtc.dev/flagpost/apis/flagpost-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flagpost/apis/flagpost-api/revisions/0308cef485ca?raw)
