Skip to main content

permissions_add

Creates, updates, deletes, gets or lists a permissions_add resource.

Overview

Namepermissions_add
TypeResource
Idsumologic.content.permissions_add

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
addContentPermissionsexecid, region, contentPermissionAssignments, notificationMessage, notifyRecipientsisAdminModeAdd permissions to a content item with the given identifier.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
idstringThe identifier of the content item.
regionstringSumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2)
isAdminModestringSet this to "true" if you want to perform the request as a Content Administrator.

Lifecycle Methods

Add permissions to a content item with the given identifier.

EXEC sumologic.content.permissions_add.addContentPermissions 
@id='{{ id }}' --required,
@region='{{ region }}' --required,
@isAdminMode='{{ isAdminMode }}'
@@json=
'{
"contentPermissionAssignments": "{{ contentPermissionAssignments }}",
"notifyRecipients": {{ notifyRecipients }},
"notificationMessage": "{{ notificationMessage }}"
}'
;