---
title: "Modify User Default Organization"
method: PATCH
path: "/api/access/v2/users/{userId}/default-organization"
tags: ["Users V2"]
---

# Modify User Default Organization

`PATCH /api/access/v2/users/{userId}/default-organization`

Use this API to modify the default organization for a specific user. The user must have at least one role in the specified organization.

## Path parameters

- `userId` string, uuid, required

## Query parameters

- `organizationId` string, uuid, required

## Response `204`

Default organization updated successfully

## Other responses

- `400` — Invalid request – User does not have access to the specified organization
- `401` — Unauthorized - Invalid or missing authentication
- `403` — Forbidden - Insufficient permissions
- `429` — Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500` — Internal Server Error

---

[API](https://skmtc.dev/onetrust/apis/platform-access-management.md) · [All operations](https://skmtc.dev/onetrust/apis/platform-access-management/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/onetrust/platform-access-management/revisions/21de3aa0b170/schema)
