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
| Field | Type | Required | Description |
|---|---|---|---|
success | boolean | ✔️ | True if the permission was granted successfully |
message | string | ✔️ | Human-readable message describing the result of the operation |
user | string | ✔️ | The user ID that was granted permission |
permission | operations.GrantUserPermissionPermission | ✔️ | Permission level for the resource. Options: "reader" (view only), "writer" (view and modify), "owner" (full control) |
resource | string | ✔️ | The resource ID the permission was granted on |