Delete Organizations in a Group

This endpoint deletes the specified organizations in a group. It returns a 204 No Content response. This endpoint is only accessible to Global Admin Tool Organizations.

Required Scope

groups:write

🚧

Body Parameters

  • id
    Required. Organization code of the organization that will be deleted from the group.
  • type
    Type of object that will be removed as a relationship. Can only be organizations.

Refer to the example request below.

https://api.betatest.degreed.com/api/v2/groups/<groupId>/relationships/organizations
  -H "Content-Type: application/json"
  -H "Authorization: Bearer <access_token>"
  -X DELETE
  -d '{ \
    "data": [ \
    { \
      "id": "MyFirstOrganization" \
      "type": "organizations" \
        }, \
    { \
      "id": "MyThirdOrganization" \
      "type": "organizations" \
        } \
    ] \
  }'
Language
Authorization
Bearer
Click Try It! to start a request and see the response here!