Changes the value of the given Dual Authorization operation. Approve/Deny the pending operation by changing its state in DB

patch/data-services/v1beta1/dual-auth-operations/{id}

Approve/Deny the pending operation by changing its state in DB.

Securitybearer
Request
path Parameters
id
required
string <uuid>

the ID of the operation

Example: c1a0eb78-41a0-4151-93b2-f057ffeca3f3
Request Body schema: application/merge-patch+json
required
state
required
string

new value of the "state" setting

Enum: "APPROVED" "CANCELLED"
Responses
200

Dual Authorization Detail

400

Bad/Malformed request

401

Unauthenticated request

403

Unauthorized request

404

The filter attribute's value does not exist

412

Pre-condition Failed.

422

Unprocessable input request

500

Internal server error

503

Service unavailable

Request samples
application/merge-patch+json
{
  • "state": "APPROVED"
}
Response samples
application/json
{
  • "createdAt": "2019-08-24T14:15:22Z",
  • "customerId": "string",
  • "generation": 0,
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "string",
  • "resourceUri": "string",
  • "type": "string",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "checkedAt": "2019-08-24T14:15:22Z",
  • "checkedByEmail": "string",
  • "checkedByUri": "string",
  • "consoleUri": "string",
  • "description": "string",
  • "groups": [
    ],
  • "operationResource": {
    },
  • "requestedAt": "2019-08-24T14:15:22Z",
  • "requestedByEmail": "string",
  • "requestedByUri": "string",
  • "requestedOperation": "string",
  • "sourceServiceExternalName": "string",
  • "state": "string"
}