---
title: "POST /api/v1/content/setpermission"
method: POST
path: "/api/v1/content/setpermission"
tags: ["Content"]
---

# POST /api/v1/content/setpermission

`POST /api/v1/content/setpermission`

## Request body

- SetPermissionsRequest
  - `Context` MessageContext
    - `CorrelationId` string, nullable
    - `UserId` string, nullable
    - `Pads4UserId` string, nullable
    - `Domain` string, nullable
    - `Claims` UserClaim[], nullable
      - `Type` string, nullable
      - `Value` string, nullable
    - `SecondaryIdentities` string[], nullable
    - `ImpersonationId` string, nullable
  - `Commands` SetPermissionCommand[], nullable
    - `DestinationId` string, nullable
    - `Owner` string, nullable
    - `DisableInheritance` boolean
    - `Acl` AceLight[], nullable
      - `Identity` string, nullable
      - `Allow` boolean
      - `Permissions` Permission[], nullable
        - `Id` string, nullable
        - `Name` string, nullable

## Response `200`

- SetPermissionsResult
  - `Succeeded` boolean
  - `Message` string, nullable
  - `Code` string, nullable
  - `Results` MyResultItem[], nullable
    - `Succeeded` boolean
    - `Message` string, nullable
    - `Code` integer
    - `Path` string, nullable

---

[API](https://skmtc.net/pads4/apis/nds-services-authentication.md) · [All operations](https://skmtc.net/pads4/apis/nds-services-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pads4/nds-services-authentication/versions/e0bfd79e98ee/schema)
