{"_id":"58aad9de8f862f250076fa47","category":{"_id":"58aad9dd8f862f250076f9f6","version":"58aad9dd8f862f250076f9f4","project":"54aa7f773b56130b0056c86e","__v":0,"sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-11-17T23:47:10.058Z","from_sync":false,"order":2,"slug":"pulsate-cms-api","title":"Pulsate CMS API"},"version":{"_id":"58aad9dd8f862f250076f9f4","project":"54aa7f773b56130b0056c86e","__v":2,"createdAt":"2017-02-20T11:58:21.765Z","releaseDate":"2017-02-20T11:58:21.765Z","categories":["58aad9dd8f862f250076f9f5","58aad9dd8f862f250076f9f6","58aad9dd8f862f250076f9f7","58aad9dd8f862f250076f9f8","58aad9dd8f862f250076f9f9","58aad9dd8f862f250076f9fa","58aad9dd8f862f250076f9fb","58ac26b3d460ce2500185d26"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"Locate","version_clean":"6.0.0","version":"6.0"},"__v":0,"parentDoc":null,"user":"5874dcd9edcf9f2f00f9e0af","project":"54aa7f773b56130b0056c86e","updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-01-10T15:35:29.665Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"564bbbf80cbcc91700b8171c","examples":{"codes":[{"code":"curl -X DELETE \"https://control.pulsatehq.com/api/v1/apps/$APP_ID/groups/$ID\" \\\n-H \"Authorization: Token token=$MY_ADMIN_API_TOKEN\"","name":"","language":"shell"}]},"method":"delete","results":{"codes":[{"status":200,"name":"","code":"{\n  \"hidden\": true,\n  \"hidden_at\": \"2017-01-12T14:59:16+00:00\",\n  \"name\": \"sample_name_2\",\n  \"resource_type\": \"Mobile::App::Campaign\",\n  \"resource_ids\": [\n    \"58591acc636f6e9a51ae0300\",\n    \"58591a6d636f6e9a51a50300\",\n    \"58739219636f6ef6a9a80000\"\n  ],\n  \"id\": \"587384b3636f6ea5f5110000\"\n}","language":"json"}]},"auth":"required","params":[{"_id":"57ff8232e7218a1900673d08","ref":"","in":"path","required":true,"desc":"App Id","default":"","type":"string","name":"app_id"},{"_id":"5874f842aff63f0f006faf58","ref":"","in":"path","required":true,"desc":"Group Id to be deleted","default":"","type":"string","name":"id"},{"_id":"5874ff41d8906c0f00d2b09d","ref":"","in":"query","required":false,"desc":"Should we delete resources (campaigns, segments, beacons or geofences) which belongs to the group or not","default":"false","type":"boolean","name":"delete_resources"}],"url":"/apps/:app_id/groups/:id"},"isReference":true,"order":49,"body":"","excerpt":"","slug":"groups-delete-one","type":"endpoint","title":"Groups: Delete One"}

deleteGroups: Delete One


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

app_id:
required
string
App Id
id:
required
string
Group Id to be deleted

Query Params

delete_resources:
booleanfalse
Should we delete resources (campaigns, segments, beacons or geofences) which belongs to the group or not

Examples


Result Format


User Information

Try It Out

delete
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}