Delete Population
DELETE {{apiPath}}/environments/{{envID}}/populations/{{popID}}
You can perform a DELETE
operation on the population resource to remove it from the environment. A population can only be deleted if it does not have any associated users and it is not the default population.
You can verify that the population resource is empty and not set as the default environment by calling GET /environments/{{envID}}/populations/{{populationID}}
to view the userCount
and default
values.
The sample shows the DELETE /environments/{{envID}}/populations/{{populationID}}
operation to delete the empty population from the specified environment.
When successful, the DELETE
request returns a code 204 No Content
message.