Skip to content

GrantUserPermissionBody

Request body for granting a permission to a user on a resource

Example Usage

typescript
import { GrantUserPermissionBody } from "@meetkai/mka1/models/components";

let value: GrantUserPermissionBody = {
  user: "Arielle41",
  permission: "owner",
  resource: "<value>",
};

Fields

FieldTypeRequiredDescription
userstring✔️Unique identifier for a user. Must contain only alphanumeric characters, hyphens, and underscores.
permissioncomponents.Permission✔️Permission level for the resource. Options: "reader" (view only), "writer" (view and modify), "owner" (full control)
resourcestring✔️Unique identifier for a resource. Must contain only alphanumeric characters, hyphens, and underscores.