Skip to main content

Process user request

POST 

/seb-api/v1/user-requests/:id/action

Process a user request.

Request

Path Parameters

    id stringrequired

    Request ID

Body

required
    action stringrequired

    Possible values: [approve, decline]

    Action to perform on the request

    adminBypassTimeframe string

    Possible values: [Once, 10m, 1h, 4h, 9h, 12h, 24h, 3d, 7d, 14d, 30d, 60d, 90d]

    The timeframe for which the approval is valid

    adminComment string

    Admin comment on the action

Responses

Action performed on request

Schema
    adminBypassTimeframe string

    The timeframe for which the approval is valid

    adminComment string

    Admin comment

    createdAt date-timerequired

    Request created at

    deviceId stringrequired

    Device unique identifier

    id stringrequired

    Unique identifier

    reason stringrequired

    reason for request

    respondedBy string

    Response by

    responseTime date-time

    Admin response time

    revokedAt date-time

    Admin revoke time

    revokedBy string

    Revoked by

    revokerComment string

    Revoke comment

    ruleId stringrequired

    Blocking rule unique identifier

    status stringrequired

    Request status

    type stringrequired

    Request type

    url stringrequired

    bypassing url

    userAcceptedAt date-time

    User accepted response at

    userId stringrequired

    Request unique identifier

Loading...