---
title: "POST /api/v1/user-role-assignments/owner/create"
method: POST
path: "/api/v1/user-role-assignments/owner/create"
tags: ["UserRoleAssignments"]
---

# POST /api/v1/user-role-assignments/owner/create

`POST /api/v1/user-role-assignments/owner/create`

## Request

- Base URL: `https://api.immy.bot` (the document declares no server; this is the origin it was published from)
- URL: `https://api.immy.bot/api/v1/user-role-assignments/owner/create`
- Auth: none declared

## Request body

- CreateOwnerAssignmentsRequest
  - `dtos` OwnerAssignmentDto[], nullable, required
    - `id` integer
    - `userId` integer, nullable
    - `groupId` integer, nullable
    - `roleId` integer
    - `isAllow` boolean
    - `createdDateTimeUtc` string, date-time
    - `createdBy` string, nullable
    - `assignmentType` 'Owner' | 'Msp' | 'TenantTag' | 'SpecificTenant' | 'UserTenant' | 'TagResource' | 'SpecificResource' | 'CategoryResource': The string or integer value may be used. Owner = 1, Msp = 2, TenantTag = 3, SpecificTenant = 4, UserTenant = 5, TagResource = 6, SpecificResource = 7, CategoryResource = 8

## Response `200`

OK

- BulkOperationResponse
  - `recordCount` integer

---

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