Set which tenants hold a note
PUT/api/v1/anchor-groups/:anchorGroupId/shared-credentialing-workflows/:id/notes/:credentialingDisplayGroupKey/coverage
Adds a copy to each added, unlocked tenant and deletes the copy from each removed one; locked tenants keep what they have. The last tenant can't be removed: delete the note instead. Needs credentialing-workflow:note:create (widening) and note:delete (narrowing) on every member tenant.
Request
Responses
- 200
- 400
- 403
- 404
- 409
- 422
Coverage set
A malformed request, or no tenant left
TENANT_PERMISSION_MISSING: a note permission is missing on a member tenant
No such shared workflow, or a member tenant the caller has no note read on (all-tenant authority)
STALE_RECORD or WORKFLOW_CONFLICT; nothing was changed
TOO_MANY_NOTES: a member workflow holds more notes than can be read at once; or ALL_TENANTS_LOCKED: the coverage change would leave the note on no workflow, every tenant it keeps or adds being locked (delete the note instead). Nothing was changed