Remove resources from domain
Description
Removes resources/sub-resources from domain by id.
HTTP method
DELETE
Request
 URL
URL
                                            http://{Admin API IP}:{port#}/api/v1/domains/{id}/resources Headers
Headers
                                            Example header format:
Authorization: Basic <authorization token returned from the login method>
                                                
Content-Type: application/json
                                                
| Parameter | Description/Comments | 
|---|---|
| ID | (string) Domain's ID. | 
 Request body
Request body
                                            | Parameter | Description/Comments | 
|---|---|
| Id | (string) Resource id (not ParentId). Can be retrieved via Get domain's resources. | 
| RemoveAssocations | (bool) Unbooks the resource in the domain. Default is true. | 
 Request example
Request example
                                            {
  "Resources": [
    {
      "Id": "<resource id>",
      "RemoveAssociations": false
    },
    {
      "Id": "<resource id>",
      "RemoveAssociations": false
    }
  ]
}Response
 Response example
Response example
                                            {
    "Errors": []
} Response code
Response code
                                            200 OK


 
                                    



