---
title: "PUT /users/{userId}/permissions/{permissionId}/set-default"
method: PUT
path: "/users/{userId}/permissions/{permissionId}/set-default"
tags: ["account"]
---

# PUT /users/{userId}/permissions/{permissionId}/set-default

`PUT /users/{userId}/permissions/{permissionId}/set-default`

## Request

- Base URL: `http://api.revelator.com`
- URL: `http://api.revelator.com/users/{userId}/permissions/{permissionId}/set-default`
- Auth: none declared

## Path parameters

- `userId` string, required
- `permissionId` string, required
- `userId` string, uuid, required
- `permissionId` string, uuid, required

## Response `200`

OK

- PermissionsAccountDTO[]
  - `enterpriseId` integer
  - `enterpriseName` string
  - `labelId` integer
  - `publisherId` integer
  - `artistId` integer
  - `payeeId` integer
  - `imageId` string, uuid
  - `name` string
  - `permissionsAccountId` string, uuid
  - `isOwner` boolean
  - `readOnlyContent` boolean
  - `readOnlyContracts` boolean
  - `readOnlyFinance` boolean
  - `readOnlyDistribution` boolean
  - `readOnlyServices` boolean
  - `readOnlyTrustAndSafety` boolean
  - `readOnlyPromote` boolean
  - `readOnlyDaily` boolean
  - `permissionRolesId` integer
  - `viewAIDataAnalyst` boolean
  - `viewRevenueAnalytics` boolean
  - `isActive` boolean
  - `isDefault` boolean
  - `email` string
  - `accountType` integer

## Changes

- **2026-11-01** `58619862ce83`: 2 breaking, 2 warning
  - added the new path request parameter `permissionId`
  - added the new path request parameter `userId`
  - deleted the `path` request parameter `permissionId`
  - deleted the `path` request parameter `userId`
- **2026-11-01** `baafa7ca59e1`: 2 breaking, 2 warning
  - added the new path request parameter `permissionId`
  - added the new path request parameter `userId`
  - deleted the `path` request parameter `permissionId`
  - deleted the `path` request parameter `userId`
- **2026-11-01** `717c07d382a8`: 2 breaking, 2 warning
  - added the new path request parameter `permissionId`
  - added the new path request parameter `userId`
  - deleted the `path` request parameter `permissionId`
  - deleted the `path` request parameter `userId`
- **2026-11-01** `01ef826eb485`: 2 breaking, 2 warning
  - added the new path request parameter `permissionId`
  - added the new path request parameter `userId`
  - deleted the `path` request parameter `permissionId`
  - deleted the `path` request parameter `userId`
- **2026-11-01** `965dc31c2ddd`: 2 breaking, 2 warning
  - added the new path request parameter `permissionId`
  - added the new path request parameter `userId`
  - deleted the `path` request parameter `permissionId`
  - deleted the `path` request parameter `userId`

[Operation history](https://skmtc.dev/revelator/apis/revelator-api/changes/users/:userId/permissions/:permissionId/set-default/put.md)

---

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