---
title: "Transfer admin role"
method: POST
path: "/groups/{id}/transfer-admin"
tags: ["groups"]
---

# Transfer admin role

`POST /groups/{id}/transfer-admin`

## Request

- Base URL: `http://localhost:3001`
- URL: `http://localhost:3001/groups/{id}/transfer-admin`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Transfer group admin rights to another active member

## Path parameters

- `id` string, required

## Request body

- object
  - `targetUserId` string, uuid

## Other responses

- `400`: Bad Request - Invalid input or validation failed
- `401`: Unauthorized - Authentication required or invalid token
- `403`: Forbidden - Insufficient permissions to access this resource
- `404`: Not Found - The requested resource does not exist
- `500`: Internal Server Error - An unexpected error occurred

---

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