Delete an Active Directory domain configuration
DELETE/api/v1/AdConfiguration/domain/configuration/:id
Removes the domain configuration and the resource that represents the domain, marks the stored credentials of the domain's accounts and resources as deleted, and removes the domain's managed resources and its scheduled domain sync job. The call is refused if resource groups still depend on the domain, or if you are signed in as an administrator with an account from that same domain.
Permission required: Administrator or application role.
Request
Responses
- 200
- 400
The domain configuration was deleted. The body is the JSON string "Ok".
The domain cannot be deleted, for example because resource groups depend on it, your own account belongs to it, or no domain configuration has that ID.