expiresAt (Unix seconds) value.POST https://api.velt.dev/v2/auth/permissions/get
errorCode field with structured error codes from the UserPermissionAccessRoleResult enum. This helps you handle permission resolution failures programmatically.| Field | Type | Description |
|---|---|---|
accessRole | string | The user’s access role ("editor" or "viewer") |
expiresAt | number | Unix timestamp (seconds) when temporary access expires |
error | string | Human-readable error message if permission resolution failed |
errorCode | string | Error code from UserPermissionAccessRoleResult enum (v4.5.4+) |
error message and an errorCode:
Resource Not Found: