Skip to main content
Version: 2024.1

Add resources to domain

Description

Add resources from other domains to a give domain.

URL

http://{Admin API IP}:{port#}/api/v1/domains/{id}/resources

ParameterDescription/Comments
ID(string) Domain's id. Can be retrieved via Get all domains.

HTTP method

POST

Request

Headers

Example header format:

Authorization: Basic <authorization token returned from the login method>

Content-Type: application/json

Request body
ParameterDescription/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
{

"Resources": [
{
"Id": "6deda6fb-8f56-4c12-ac29-00b3fb7756db",
"IncludeDescendants": true
}
]
}

Response

Response example
{
"Errors": []
}
Response code
201 Created