Create Home Sites
All the listed privileges are required -
Privileges | Description |
---|---|
FEDERATED_LDAP_MANAGE | Caller should have permission to this privilege on associated federated access group of GAE/GDE for creating Home Sites. |
Request
URI
POST
https://{api_host}//localhost/rest/federation/v1/home-sites
COPY
Request Body
List of home site objects to be created.
Array of HomeSiteCreateSpec of type(s) application/json
Optional
[
{
"ad_user_or_group_id": "S-1-5-32-551",
"global_application_entitlement_id": "e285ebe1-194b-4563-80e0-0ad21134c503",
"global_desktop_entitlement_id": "7493bfc7-834a-4d9b-ac7d-b5f60893a3a6",
"site_id": "32a5ea06-cd09-4609-b3e5-df8379e99c13"
}
]
Responses
200
OK
[
{
"error_messages": [
"Entity does not exist.",
"Property is mandatory."
],
"errors": [
{
"error_key": "inventory.machine.not.found",
"error_message": "username cannot be empty"
}
],
"id": "6f85b3a5-e7d0-4ad6-a1e3-37168dd1ed51",
"key": "user1",
"status_code": 200,
"timestamp": 1561939200000
}
]
400
Bad Request
Operation doesn't return any data structure
401
User is not authenticated
Operation doesn't return any data structure
403
Access to the resource is forbidden
Operation doesn't return any data structure
409
Conflict | CPA not initialized for the pod
Operation doesn't return any data structure
Federation Operations
POST
Create Home Sites
POST
Create Site
DELETE
Delete Home Sites
DELETE
Delete Site
POST
Eject Pod
GET
Get Home Site
GET
Get Pod
GET
Get Pod Assignment
GET
Get Pod Endpoint
GET
Get Pod Federation
GET
Get Site
GET
Get Task
POST
Initialize CPA
POST
Join CPA
GET
List Home Sites
GET
List Pod Assignments
GET
List Pod Endpoint
GET
List Pods
GET
List Sites
GET
List Tasks
POST
Resolve Home Sites
POST
Uninitialize CPA
POST
Unjoin CPA
PUT
Update Pod
PUT
Update Pod Federation
PUT
Update Site