v1

latestOpenAPI 3.1.02026-07-263911,4691.1 MB
Documents

post/documents/v1/bulk/update_owners

Request body

file_idsstring[] required

The IDs of the files you want to update the owners of. To get the file_id, open the file in the SafetyCulture web app and copy the last part of the URL. For example, in this link https://app.safetyculture.com/documents/document/765aa2e6-69cb-43b5-8ab4-48ab26e2a094, the file ID is 765aa2e6-69cb-43b5-8ab4-48ab26e2a094.

user_idsstring[]

The IDs of the users you want to add as owners. Existing owners will be removed. To get the user_id, open the user in the SafetyCulture web app and copy the last part of the URL before /profile. For example, in this link https://app.safetyculture.com/organisation/role_d7b113c0c6774a59b8cfdea1ab1da89a/users/user_7a7cddac38ac4dd197304ba0d05b981a/profile, the user ID is user_7a7cddac38ac4dd197304ba0d05b981a.

group_idsstring[]

The IDs of the groups you want to add as owners. To get the group_id, open the group in the SafetyCulture web app and copy the last part of the URL before /users. For example, in this link https://app.safetyculture.com/organisation/role_d7b113c0c6774a59b8cfdea1ab1da89a/groups/role_1ebbbca147644b5aa4ea646429f941e7/users, the group ID is role_1ebbbca147644b5aa4ea646429f941e7.

Response

A successful response.

S12DocumentsV1BulkUpdateFileOwnersResponse required