Access Control
- Set
accessRole
toviewer
(read-only) oreditor
(read/write) on each resource to define the user’s capabilities for that resource. accessRole
can only be set via the v2 Users and Auth Permissions REST APIs. Frontend SDK methods do not accept or changeaccessRole
.- Relevant endpoints:
/v2/users/add
,/v2/users/update
,/v2/auth/permissions/add
,/v2/auth/generate_token
. - See the Access Control overview for concepts and detailed guidance.
Endpoint
POST https://api.velt.dev/v2/users/update
Headers
Your API key.
Your Auth Token.