
Slack AccessSet
CertifiedSet canvas access controls
Slack AccessSet
Certified
Set canvas access controls
Updates a canvas's read/write access for specific users or channels. Exactly one of userIds or channelIds must be provided; Slack rejects mixed input.
yaml
type: io.kestra.plugin.slack.app.canvases.AccessSetExamples
Set canvas access to read-only for specific users
yaml
id: slack_canvas_access
namespace: company.team
tasks:
- id: set_canvas_access
type: io.kestra.plugin.slack.app.canvases.AccessSet
token: "{{ secret('SLACK_TOKEN') }}"
canvasId: "F1234567890"
accessLevel: READ
userIds:
- "U1234567890"
- "U0987654321"
Properties
accessLevel *Requiredstring
Possible Values
READWRITEAccess level
New access level to apply.
canvasId *Requiredstring
Canvas ID
Target canvas to update access for (e.g., F1234567890).
token *Requiredstring
Slack token
channelIds array
SubTypestring
Channel IDs with access
Channel IDs to update; cannot be set together with userIds.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
userIds array
SubTypestring
User IDs with access
User IDs to update; cannot be set together with channelIds.