Add resources to domain
Description
Add resources from other domains to a give domain.
HTTP method
POST
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. Can be retrieved via Get all domains. | 
 Request body
Request body
                                        | Parameter | Description/Comments | 
|---|---|
| id | (string) Resource id. Can be retrieved via Get domain's resources. | 
| IncludeDescendants | (bool) (Optional) Include sub-resources in the domain. Default is true. | 
 Request example
Request example
                                        {
  "Resources": [
    {
      "Id": "6deda6fb-8f56-4c12-ac29-00b3fb7756db",
      "IncludeDescendants": true
	}
  ]
}Response
 Response example
Response example
                                        {
    "Errors": []
} Response code
Response code
                                        201 Created
                                        


 
                                    



