Generate Cookie

Generate Cookie

This request generates a one-time cookie used to download the specified support bundle without providing a valid API key. The API is not meant to be used from browsers.

Request
URI
POST
https://{api_host}//diagnostics/bundles/cookie/{bundleId}
COPY
Path Parameters
string
bundleId
Required

UUID of the bundle

bundleId example
e9aac41e-ebb1-4f91-98c5-c6b4cb77f45c
Header Parameters
string
operationID
Optional

Operation ID for correlating logs across multiple services


Authentication
This operation uses the following authentication methods.
Responses
202

Accepted

Returns DownloadCookie of type(s) application/json;charset=UTF-8
{
    "cookie": "KqT+e0RCQTq86xZTjl8D5t2nAhs="
}
string
cookie
Optional

The generated cookie.


401

The returned error codes include (but are not limited to): NotAuthenticated

Returns ApiError of type(s) application/vnd.vmware.h4-v4.5+json;charset=UTF-8
{
    "args": [],
    "code": "Forbidden",
    "msg": "Permission denied.",
    "stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
}
array of string
args
Optional

Positional arguments.

string
code
Optional

Specific error code.

string
msg
Optional

Detailed error message.

string
stacktrace
Optional

Exception stacktrace.


500

The returned error codes include (but are not limited to): GeneralServerFailure

Returns ApiError of type(s) application/vnd.vmware.h4-v4.5+json;charset=UTF-8
{
    "args": [],
    "code": "Forbidden",
    "msg": "Permission denied.",
    "stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
}
array of string
args
Optional

Positional arguments.

string
code
Optional

Specific error code.

string
msg
Optional

Detailed error message.

string
stacktrace
Optional

Exception stacktrace.