Set inspection access

Replace the access configuration for an inspection.

πŸ“˜οΈ
This endpoint is currently in Beta and may be subject to changes without notice.

This endpoint replaces the access configuration for an inspection, allowing you to update owner, permissions, and site access levels.

This endpoint requires "View, edit" access to the inspection at a minimum, and "View, edit, delete" access if you want to add new, edit, or remove an existing permission with full access.

Path Params
string
required

The unique identifier for the inspection

Body Params
string

The user ID of the inspection owner (optional); implicitly has full access
If access is to be revoked from the original owner, a new owner must be specified.

permissions
array of objects

Collection of access rules with their associated permission levels

permissions
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json