POST /api/v1/users/permissions/add — Add User Permissions
Grant additional permissions to a user. Permissions control access to specific API operations and document groups.
Authentication
SadqAuthorize
Request Headers
- Authorization (required)
- Bearer {token}
- Content-Type (required)
- application/json
Request Body
Content-Type: application/json
- UserId (GUID, optional)
- Id For User Created From Sadq
- Permissions (array, optional)
- Array of permission IDs to Add from the user.
{
"UserId": "GUID",
"Permissions": [
1,
2,
3,
4,
5
]
}Responses
HTTP 200 — Permissions added
{
"data": true,
"errorCode": 0,
"message": null,
"returnUrl": "/dashboard",
"stateValidationErrors": null,
"signature": ""
}