Skip to content

Latest commit

 

History

History
83 lines (57 loc) · 1.28 KB

File metadata and controls

83 lines (57 loc) · 1.28 KB
sidebar_position 16

Remove resources from domain

Description

Removes resources/sub-resources from domain by id.

URL

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

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

HTTP method

DELETE

Request

Headers

Example header format:

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

Content-Type: application/json

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
{

  "Resources": [
    {
      "Id": "<resource id>",
      "RemoveAssociations": false
    },
    {
      "Id": "<resource id>",
      "RemoveAssociations": false
    }
  ]
}

Response

Request example
{
    "Errors": []
}
Response code

200 OK