Delete a group: Migration guide

This guide outlines the changes introduced in the Delete a group v2 endpoint (previously known as deleteGroup in v1).

Documentation links

Here are the links to the API reference for:

Endpoint mapping

Here's the direct correlation between the v1 and v2 endpoint URLs:

  • API v1: /api/v1/groups/:group_id
  • API v2: /api/v2/groups/{groupId}

Input changes

This section details the specific alterations to the input requirements between API versions.

API v1 input example

curl --location -g --request DELETE 'https://{{host}}/api/v1/groups/:group_id' \
--data-urlencode 'company={{company}}' \
--data-urlencode 'apiKey={{apiKey}}'

API v2 input example

curl --request DELETE \
     --url https://app.360learning.com/api/v2/groups/groupId \
     --header '360-api-version: v2.0' \
     --header 'accept: application/json'

Output changes

This section details the specific alterations to the successful output returned between API versions.

API v1 output example

204 No content

API v2 output example

204 No content