Update Resources Functionalities 1

Update Resources Functionalities 1

Update Resources Functionalities Is Allowed Global Configuration

Request
URI
PATCH
https://{api_host}/v1/resource-functionalities/global
COPY
Request Body
ResourceFunctionalitiesGlobalUpdateSpec of type(s) application/json
Required
{
    "serviceId": "string",
    "operationName": "string",
    "operationId": "string",
    "isAllowed": true
}
string
serviceId
Required

The identifier of the service associated with the resource functionalities

string
operationName
Required

The name of the operation associated with the resource functionalities

string
operationId
Required

The identifier of the operation associated with the resource functionalities

boolean
isAllowed
Required

Flag indicating if all of the functionalities are allowed

Responses
200

OK

Returns ResourceFunctionalitiesGlobalConfigurationCaller of type(s) application/json
"ResourceFunctionalitiesGlobalConfigurationCaller Object"
string
operationId
Optional

The identifier of the operation associated with the resource functionalities

string
operationName
Optional

The name of the operation associated with the resource functionalities

string
serviceId
Optional

The identifier of the service associated with the resource functionalities

boolean
isAllowed
Optional

Global flag representing if all of the VMware Cloud Foundation operations are allowed or not


400

Bad Request

Returns Error of type(s) application/json
"Error Object"
string
errorCode
Optional

The minor error code

string
errorType
Optional

The error type

array of string
arguments
Optional

The arguments used to localize the message, Can be used by scripts to automate the error processing.

object
context
Optional

The error context (e.g. the component where it occurred).

string
message
Optional

The localized error message

string
remediationMessage
Optional

The localized remediation error message

array of object
causes
Optional

The underlying cause exceptions.

array of Error
nestedErrors
Optional

The nested errors when the error is a composite one

string
referenceToken
Optional

A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.


500

Internal Server Error

Returns Error of type(s) application/json
"Error Object"
string
errorCode
Optional

The minor error code

string
errorType
Optional

The error type

array of string
arguments
Optional

The arguments used to localize the message, Can be used by scripts to automate the error processing.

object
context
Optional

The error context (e.g. the component where it occurred).

string
message
Optional

The localized error message

string
remediationMessage
Optional

The localized remediation error message

array of object
causes
Optional

The underlying cause exceptions.

array of Error
nestedErrors
Optional

The nested errors when the error is a composite one

string
referenceToken
Optional

A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.


Code Samples
COPY
                    curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"isAllowed:"boolean","operationId:"string","operationName:"string","serviceId:"string"}'