Skip to content

GrantUserPermissionResponseBody

Confirmation response after granting a permission to a user

Example Usage

typescript
import { GrantUserPermissionResponseBody } from "@meetkai/mka1/models/operations";

let value: GrantUserPermissionResponseBody = {
  success: false,
  message: "<value>",
  user: "Joelle.Bradtke",
  permission: "writer",
  resource: "<value>",
};

Fields

FieldTypeRequiredDescription
successboolean✔️True if the permission was granted successfully
messagestring✔️Human-readable message describing the result of the operation
userstring✔️The user ID that was granted permission
permissionoperations.GrantUserPermissionPermission✔️Permission level for the resource. Options: "reader" (view only), "writer" (view and modify), "owner" (full control)
resourcestring✔️The resource ID the permission was granted on