Approve access to private files by request id

Trust Center approve access to private files. This endpoint is only available on Trust Center Pro.

Securitybearer
Request
path Parameters
id
required
string
Request Body schema: application/json
required
expiration
number <= 1825

Number of days to expire

expirationType
required
string

Default Access Length Type

Enum: "DAYS" "WEEKS" "MONTHS" "YEARS"
isNewExpiration
boolean

Is update expiration date checked

Responses
200

Good to go!

400

Malformed data and/or validation errors

401

Invalid Authorization

403

You are not allowed to perform this action

500

Internal server error

default

Response Code: 412

You must accept the Drata terms and conditions to use the API

put/trust-center/requests/{id}/approve
Request samples
application/json
{
  • "expiration": 365,
  • "expirationType": "DAYS",
  • "isNewExpiration": false
}
Response samples
application/json
{
  • "isApproved": true,
  • "trackingId": "aaaaaaaa-bbbb-0000-cccc-dddddddddddd"
}