Documentation forSolarWinds Service Desk

Memberships

Memberships are used to relate a user to a group

Create a new membership:

curl -H "X-Samanage-Authorization: Bearer TOKEN" -H 'Accept: application/xml' -H 'Content-Type:text/xml' -X POST https://api.samanage.com/memberships.xml?group_id=GROUP_ID&user_ids=USER_ID

Delete a membership:

curl -H "X-Samanage-Authorization: Bearer TOKEN" -H 'Accept: application/xml' -H 'Content-Type:text/xml' -X DELETE https://api.samanage.com/memberships/MEMBERSHIP_ID.xml