Delete a Group

Delete a group in WebEOC Nexus using the DeleteGroup endpoint.

DeleteGroup endpoint description
Description Delete a group in WebEOC Nexus
URL /groups/{groupname}
Method DELETE
Parameter groupname

Review the parameter definitions and examples of how to use the DeleteGroup endpoint in JavaScript and C# calls.

Parameter

DeleteGroup endpoint parameter
Variable Name Type Description Required
groupname String Name of the WebEOC Nexus group to be deleted True (URL)

Examples

JavaScript Call

Copy Code
await fetch(`${baseUrl}/groups/Group A`, { method: 'DELETE' })

C# Call

Copy Code
public async Task DeleteGroup()
{
using (var httpClient = new HttpClient(httpClientHandler))
{
await httpClient.DeleteAsync($"{baseUrl}/groups/Group A");
}
}