Create Site
All the listed privileges are required -
Privileges | Description |
---|---|
FEDERATED_LDAP_MANAGE | Caller should have permission to this privilege, to perform this operation. |
Request
URI
POST
https://{api_host}//localhost/rest/federation/v1/sites
COPY
Request Body
Site object to be created.
SiteCreateSpec of type(s) application/json
Required
{
"description": "This is US site",
"name": "US Site"
}
string
description
Optional
Detailed description of the site.
string
name
Required
The name of the site.
Responses
201
Created
Operation doesn't return any data structure
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