Resources
Share a resource to user or user group
Shares a specific resource with a user or user group by granting access privileges such as view, modify, or fullaccess.
put/restapi/json/v1/resources/{resourceId}/share
Request
- Base URLhttps://Hostname:Port
- AuthAPI key in header AUTHTOKEN
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
resourceIdinteger required
Resource ID
Headers
orgNamestring
Name of the Organization (for MSP/multi-org deployments)
Request body application/x-www-form-urlencoded
Example request
{
"INPUT_DATA": {
"operation": {
"Details": {
"ACCESSTYPE": "view",
"USERID": 301,
"USERGROUPID": 2
}
}
}
}Response
Resource shared
Example response
{
"operation": {
"Details": {
"accessType": "view"
},
"name": "SHARE RESOURCE"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.