[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen

Update Home Site Mapping

Description

Update homesite mapping with new values. The new data must be complete and valid as if it were a new record.

Request

Request

URL

URL


put
https://cloud.vmwarehorizon.com/portal/v1/homesitemappings/{mappingId}
Copy

Path Parameters

Path Parameters

string
mappingId Required

mappingId


Request Body

Request Body

HomesiteMapping of mimetype application/json Required

homesiteMapping

{
    "homeSiteId": "05650"
}
string
type Required

List of Type USER or GROUP

Possible values are: GROUPUSER


string
homeSiteId Required

Home site Id


string as date-time
createdAt Optional

Time when home site mapping was created


string
domain Optional

Entity domain


string
entityId Optional

Home site entity Id


string
homeSiteName Optional

Home site Name


string
id Optional

Home site mapping Id


string
location Optional

Location that is mapped with Org Id


string
orgId Optional

Home site OrgId Id


string
entityName Optional

Home site entity Name


string as date-time
updatedAt Optional

Time when home site mapping was updated

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

200 OK

OK

Errors

Errors

ErrorResponse
400

Bad Request


ErrorResponse
401

Unauthorized


ErrorResponse
403

Forbidden

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '{"domain":"domain-1","entityId":"en-id-12345","entityName":"en-name-12345","homeSiteId":"05650","homeSiteName":"site-1","id":"hm-id-12345","location":"US","orgId":"org-id-12345"}' https://cloud.vmwarehorizon.com/portal/v1/homesitemappings/{mappingId}
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-codegen-request-body-name: homesiteMapping


Feedback

Was this page helpful?