Create, delete, and query Organization Subscriptions in Zendesk.
Table Specific Information
SelectThe following queries are processed server side while other filters are processed client side within the driver.
SELECT * FROM OrganizationSubscriptions SELECT * FROM OrganizationSubscriptions WHERE Id = '123' SELECT * FROM OrganizationSubscriptions WHERE UserId = '123' SELECT * FROM OrganizationSubscriptions WHERE OrganizationId = '123'
You can turn off the client-side execution of the query by setting SupportEnhancedSQL to false in which case any other search criteria will be ignored and an unfiltered response will be returned.
The UserId and OrganizationId fields are required to insert. End users can only subscribe to shared organizations in which they're members. Allowed for agents and end users.
INSERT INTO OrganizationSubscriptions(UserId, OrganizationId) VALUES('772', '881')
You must specify the Id of the subscription to delete it. Allowed for agents and end users.
DELETE FROM OrganizationSubscriptions WHERE Id='123'
Organization subscription id.
The url of this resource.