Controls

Update auditor access

POST
/organizations/{organizationId}/auditor-access/{auditorAccessId}/update

Updates the expiry, permissions, or audit assignment of an auditor access grant.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

organizationId*string
auditorAccessId*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/organizations/string/auditor-access/string/update"
{  "id": "string",  "organizationId": "string",  "organizationFrameworkIds": [    "string"  ],  "auditId": "string",  "audit": {    "id": "string",    "firmName": "string",    "frameworkNames": [      "string"    ]  },  "auditorEmail": "string",  "auditorOrgName": "string",  "invitedByUserId": "string",  "userId": "string",  "accountId": "string",  "status": "invited",  "permissions": {    "canExport": true,    "canComment": true,    "canViewDocuments": true  },  "invitedAt": "string",  "activatedAt": "string",  "expiresAt": "string",  "lastAccessAt": "string",  "revokedAt": "string",  "revokedByUserId": "string",  "dateCreated": null,  "dateUpdated": null,  "property1": null,  "property2": null}