Body
application/json
Response
Successful Response
The response is of type any.
curl --request POST \
--url https://{api_endpoint}/api/v1/lite/grant \
--header 'Content-Type: application/json' \
--data '{
"CurrentUserRecord": {
"uid": "<string>",
"role": "<string>",
"username": "<string>"
},
"ServiceInstanceMetadata": {
"metadata": {},
"serviceInstanceDescription": "<string>",
"serviceInstanceDisplayName": "<string>",
"serviceInstanceNamespace": "<string>",
"zenServiceInstanceInfo": {
"zenCloudPakInstanceId": "<string>",
"zenControlPlaneNamespace": "<string>",
"zenImageRegistryPrefix": "<string>",
"zenServiceInstanceId": "<string>",
"zenServiceInstanceSecret": "<string>",
"zenServiceInstanceType": "<string>",
"zenServiceInstanceUID": "<string>",
"zenServiceInstanceUserName": "<string>",
"zenServiceInstanceVersion": "<string>"
}
},
"users": [
{
"uid": "<string>",
"role": "<string>",
"username": "<string>"
}
],
"groups": [
"<any>"
]
}'"<any>"curl --request POST \
--url https://{api_endpoint}/api/v1/lite/grant \
--header 'Content-Type: application/json' \
--data '{
"CurrentUserRecord": {
"uid": "<string>",
"role": "<string>",
"username": "<string>"
},
"ServiceInstanceMetadata": {
"metadata": {},
"serviceInstanceDescription": "<string>",
"serviceInstanceDisplayName": "<string>",
"serviceInstanceNamespace": "<string>",
"zenServiceInstanceInfo": {
"zenCloudPakInstanceId": "<string>",
"zenControlPlaneNamespace": "<string>",
"zenImageRegistryPrefix": "<string>",
"zenServiceInstanceId": "<string>",
"zenServiceInstanceSecret": "<string>",
"zenServiceInstanceType": "<string>",
"zenServiceInstanceUID": "<string>",
"zenServiceInstanceUserName": "<string>",
"zenServiceInstanceVersion": "<string>"
}
},
"users": [
{
"uid": "<string>",
"role": "<string>",
"username": "<string>"
}
],
"groups": [
"<any>"
]
}'"<any>"Successful Response
The response is of type any.