User resource

Site users management - Add / edit user module permission

OVERVIEW


Method to allocate module permissions to a user

Request URL

POST   /api/3/sites/{siteid}/users/{userid}/modulepermissions

Request parameters

Parameter Value Description
siteid integer The ID of the site. The siteid can be obtained by calling the get site list  API
userid integer

The ID of the user. The userid can be obtained by calling get all site users API

Request Body

The request body should have a  module permissions object.  

Response 

 The API returns a 200 OK http response if it's successful, otherwise an error object and error code are returned.

Comments


1 Comments

Last Updated: Jun 09,2023