Assign Resources to Tenant

Assign the listed resources to the tenant. Resources can be either ports or network elements. UUIDs for the resources can be obtained from the responses to getting ports and getting network elements.

POST https://<NSP Server>:8543/sdn/api/v4/tenants/687f0ce1-8dbc-4998-8442-0d00c73f86e8/resources

Request:

{
  "data": [
    "2182-e4e12d40-47ac-4fee-9a9c-8836152b01b6",
    "2685-a7665170-d578-4d92-9880-17d15c788ffa",
    "3127-8ef7dc06-5064-4aaa-aafc-8d2a46bb7992",
    "3135-51fe918c-513e-49fe-8b0f-3f913c88e56f",
    "3057-2b558131-579a-4e8f-a146-ccd879fca505",
    "3570-d1580a0e-5976-4e90-a5a2-231017722389"
  ]
}

Response:

{
  "status": 0,
  "startRow": 0,
  "endRow": 1,
  "totalRows": 1,
  "data": true
}