Skip to navigation

Review tool access request

Approve or deny a pending request, or revoke an approved one, by setting its status.

Authentication

AuthorizationBearer

Token-based authentication with required prefix “Bearer”

Path parameters

request_idstringRequiredformat: "uuid"

Request

This endpoint expects an object.
statusenumRequired

approved or denied decides a pending request; revoked removes the access an approved request granted. Expiry fields are only accepted with approved.

Allowed values:
expires_atdatetime or nullOptional
When the granted access ends.
expires_in_secondsintegerOptional>=1
Seconds from now until the granted access ends.
permanentbooleanOptional
Grant access with no expiry. With no expiry field set, the expiry the requester asked for is used.
decision_notestringOptionalDefaults to

Response

idstringRead-onlyformat: "uuid"
registered_userobject
The employee who filed the request.
tool_packobject or null
The tool pack the request was filed from.
reasonstring
reviewed_byobject or null
The dashboard user who decided the request.
created_atdatetimeRead-only
modified_atdatetimeRead-only
statusenumOptional
Allowed values:
requested_tool_slugslist of stringsOptional
requested_expires_atdatetime or nullOptional
Requested expiration. Null means permanent access was requested.
approved_tool_slugslist of stringsOptional
approved_expires_atdatetime or nullOptional
Approved expiration. Null means permanent access.
decision_notestringOptional
approved_atdatetime or nullOptional
denied_atdatetime or nullOptional
revoked_atdatetime or nullOptional
canceled_atdatetime or nullOptional