curl --request POST \
--url http://localhost/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": [
"<string>"
],
"groups": [
"<any>"
]
}'
"<any>"
curl --request POST \
--url http://localhost/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": [
"<string>"
],
"groups": [
"<any>"
]
}'
"<any>"
Successful Response
The response is of type any
.