Extend
To perform replication management operations for remote sites, provide the session with credentials (VMware Cloud Director auth cookie or access token or org user and password) for the specified remote site. The supported authentication methods are the following:
- with VMware Cloud Director credentials:
{ "type": "credentials", "site": "site1", "vcdUsername": "admin1@org2", "vcdPassword": "password" }
- with VMware Cloud Director auth cookie:
{ "type": "cookie", "site": "site1", "cookie": "f12977876fef48a6b032ffdb2cdf22d7" }
- with VMware Cloud Director access token (jwt):
{ "type": "vcdAccessToken", "site": "site1", "vcdAccessToken": "eyJhbGciOiJSUzI1NiJ9...." }
- with VMware Cloud Director Multisite:
{ "type": "multisite", "site": "site1", "org": "acme-dr" }
Operation ID for correlating logs across multiple services
{
"type": "credentials",
"site": "site1",
"vcdUsername": "admin1@org2",
"vcdPassword": "password"
}
OK
{
"roles": [
"EVERYONE"
],
"user": "admin1@Org1",
"authenticatedSites": [
{
"org": "Org1",
"site": "site1"
}
]
}
VMware Cloud Director sites the current session has authenticated with. The site specified in the request should be present here
The returned error codes include (but are not limited to): BadRequest, BadUserInput
{
"args": [],
"code": "Forbidden",
"msg": "Permission denied.",
"stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
}
Positional arguments.
Specific error code.
Detailed error message.
Exception stacktrace.
The returned error codes include (but are not limited to): NotAuthenticated, RemoteAuthenticationFailure
{
"args": [],
"code": "Forbidden",
"msg": "Permission denied.",
"stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
}
Positional arguments.
Specific error code.
Detailed error message.
Exception stacktrace.
The returned error codes include (but are not limited to): SiteNotFound
{
"args": [],
"code": "Forbidden",
"msg": "Permission denied.",
"stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
}
Positional arguments.
Specific error code.
Detailed error message.
Exception stacktrace.
The returned error codes include (but are not limited to): GeneralServerFailure
{
"args": [],
"code": "Forbidden",
"msg": "Permission denied.",
"stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
}
Positional arguments.
Specific error code.
Detailed error message.
Exception stacktrace.