v4

latestOpenAPI 3.1.02026-08-02261331761.5 KB
Operation Approval (EAP)

Get Operation Approval

get/v2/elements/{proj_id}/{env_id}/config/{elements_config_id}/operation_approval/{operation_approval_id}

Path parameters

operation_approval_idstring required

Either the unique id of the operation_approval, or the URL-friendly key of the operation_approval (i.e: the "slug").

Either the unique id of the operation_approval, or the URL-friendly key of the operation_approval (i.e: the "slug").

proj_idstring required

Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").

Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").

env_idstring required

Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").

Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").

elements_config_idstring required

Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the "slug").

Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the "slug").

Query parameters

pageinteger

Page number of the results to fetch, starting at 1.

Page number of the results to fetch, starting at 1.

per_pageinteger

The number of results per page (max 100).

The number of results per page (max 100).

Response

Successful Response

reasonstring

Optional business justification provided by the user requesting operation approval

idstring uuid required

Unique id of the operation approval

organization_idstring uuid required

Unique id of the organization that the operation approval belongs to.

project_idstring uuid required

Unique id of the project that the operation approval belongs to.

environment_idstring uuid required

Unique id of the environment that the operation approval belongs to.

created_atstring date-time required

Date and time when the operation approval was created (ISO_8601 format).

updated_atstring date-time required

Date and time when the operation approval was last updated/modified (ISO_8601 format).

requesting_user_idstring uuid required

optional id of the user that is requesting the approval

reviewed_atstring date-time

when the operation approval was reviewed

type'access_request' | 'operation_approval'

An enumeration.

reviewer_commentstring

comment provided by the reviewer_user_id

status'pending' | 'approved' | 'denied' | 'canceled' required

An enumeration.

reviewer_user_idstring uuid

Optional id of the user who review the operation approval

Example response

{
  "requesting_user_id": "1c1e4ada-f282-40e6-b3b7-20b3a51c93b5",
  "access_request_details": {
    "tenant": "34f5c98e-f430-457b-a812-92637d0c6fd0",
    "resource": "4d5215ed-38bb-48ed-879a-fdb9ca58522f",
    "resource_instance": "2d98d9f8-e1b7-4f1d-baad-2edbf6fa6c66"
  },
  "reason": "I need to create a new transfer for my client",
  "org_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
  "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
  "env_id": "40ef0e48-a11f-4963-a229-e396c9f7e7c4",
  "created_at": "2019-08-24T14:15:22Z",
  "updated_at": "2019-08-24T14:15:22Z",
  "status": "approved",
  "reviewer_user_id": "1b287364-14ff-4b72-8953-b40399093a6f",
  "reviewed_at": "2019-08-24T14:15:22Z",
  "reviewer_comment": "transfer for a new client",
  "type": "operation_approval"
}