---
title: "Change a user's access level on a trip."
method: PATCH
path: "/v1/trips/{id}/access/{userId}"
tags: ["Public API v1"]
---

# Change a user's access level on a trip.

`PATCH /v1/trips/{id}/access/{userId}`

## Request

- Base URL: `https://api.mynextadventure.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mynextadventure.cloud/v1/trips/{id}/access/{userId}`
- Auth: API key in header `X-API-Key`

## Path parameters

- `id` string, required
- `userId` string, required

## Request body

- UpdateAccessLevelV1Dto
  - `accessLevel` 'owner' | 'edit' | 'voter' | 'view', required: New access level for the user.

## Response `200`

- UpdateAccessLevelResultV1Dto
  - `updated` boolean, required
  - `userId` string, required: User id whose access was updated.

## Other responses

- `404`: Trip not found or no owner access.

---

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