Sleekplan API v2

Group

  • GETList groupsReturns groups in the workspace. Use search to resolve your own identifier to a group_id: it matches both the group name and the data_id you assigned, partially — searching acme also returns acme-eu, so compare data_id in the response.
  • POSTCreate a group
  • GETRetrieve a groupCounters in stats are maintained on a schedule and may lag a change by up to an hour.
  • PUTUpdate a groupPartial update — only the fields you send change. The identifier is immutable.
  • DELETEDelete a groupRemoves the group and its memberships. The end-users themselves are not deleted.
  • GETList a group's membersEach member carries both user_id and the data_id you assigned, so you can map your own identifiers to ours.
  • POSTAssign a member to a groupAn end-user may belong to several groups. Assigning an existing member again succeeds without duplicating.
  • DELETEUnassign a member from a groupRemoves the membership only. The end-user is not deleted.