{ "url": "https://api.slack.com/events/user_resource_denied", "event": "user_resource_denied", "sub_schemas": { "scope": { "type": "string", "enum": [ "channels:read", "channels:history", "groups:history", "mpim:history", "dnd:read", "team:read", "emoji:read", "files:read", "groups:read", "im:read", "im:history", "links:read", "pins:read", "reactions:read", "stars:read", "usergroups:read", "users:read" ] }, "trigger_id": { "type": "string" }, "user_id": { "type": "string" }, "user_resource_denied": { "type": "object", "description": "learn more: https://api.slack.com/events/user_resource_denied", "properties": { "scopes": { "type": "array", "items": { "$ref": "#/definitions/scope" } }, "trigger_id": { "$ref": "#/definitions/trigger_id" }, "type": { "const": "user_resource_denied" }, "user": { "$ref": "#/definitions/user_id" } }, "example": { "scopes": [ "reminders:write:user", "reminders:read:user" ], "trigger_id": "27082968880.6048553856.5eb9c671f75c636135fdb6bb9e87b606", "type": "user_resource_denied", "user": "WXXXXXXXX" } } }, "schema": { "type": "object", "description": "learn more: https://api.slack.com/events/user_resource_denied", "properties": { "scopes": { "type": "array", "items": { "$ref": "#/definitions/scope" } }, "trigger_id": { "$ref": "#/definitions/trigger_id" }, "type": { "const": "user_resource_denied" }, "user": { "$ref": "#/definitions/user_id" } }, "example": { "scopes": [ "reminders:write:user", "reminders:read:user" ], "trigger_id": "27082968880.6048553856.5eb9c671f75c636135fdb6bb9e87b606", "type": "user_resource_denied", "user": "WXXXXXXXX" } }, "compatibility": [ "Events API" ], "scopes": [ ] }