put https://{hostname}/api-definitions/v2/endpoints//versions//resources//operations/
Update details about a resource operation. You can change the operation's name, method, purpose, and more.
Responses
Update details about a resource operation. You can change the operation's name, method, purpose, and more.
xxxxxxxxxx
10curl --request PUT \
--url https://hostname/api-definitions/v2/endpoints/endpointId/versions/versionNumber/resources/apiResourceId/operations/operationId \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"method": "HEAD",
"operationPurpose": "LOGIN"
}
'
xxxxxxxxxx
44}
{
"apiResourceId": 4102124,
"conditions": [
{
"apiParameterId": 3828246
}
],
"method": "GET",
"operationId": "e03cf501-b09b-49fa-b3c8-c3fa6787a359",
"operationName": "test purpose 5",
"operationParameter": {
"userEmail": {
"parameterId": 1234567,
"usedForLogin": true
},
"userFirstName": {
"parameterId": 1234567
},
"userLastName": {
"parameterId": 1234567
},
"userOtherId": {
"parameterId": 1234567,
"usedForLogin": true
},