PATCH
/
lite
/
serviceInstance
/
users
/
role
curl --request PATCH \
  --url http://localhost/api/v1/lite/serviceInstance/users/role \
  --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>"

Body

application/json

Response

200
application/json

Successful Response

The response is of type any.