Skip to main content

Get Access Requests Approvals Number

GET 

/access-request-approvals/approval-summary

Use this API to return the number of pending, approved and rejected access requests approvals. See the "owner-id" query parameter for authorization information.

Request

Query Parameters

    owner-id string

    The ID of the owner or approver identity of the approvals. If present, the value returns approval summary for the specified identity.

    • ORG_ADMIN users can call this with any identity ID value.
    • ORG_ADMIN user can also fetch all the approvals in the org, when owner-id is not used.
    • Non ORG_ADMIN users can only specify me or pass their own identity ID value.
    Example: 2c91808568c529c60168cca6f90c1313
    from-date string

    This is the date and time the results will be shown from. It must be in a valid ISO-8601 format.

    Example: from-date=2020-03-19T19:59:11Z

Responses

Number of pending, approved, rejected access request approvals.

Schema

    pending integer

    The number of pending access requests approvals.

    approved integer

    The number of approved access requests approvals.

    rejected integer

    The number of rejected access requests approvals.

Loading...