Set the tenant's visitor-push (OneSignal) credentials (admin)
PUT/api/widget/push
Sets the tenant's OneSignal app id, service-worker path and REST key for widget visitor push. The REST key is write-only (encrypted, never returned). Only the fields present are changed; an empty value clears one. Admin only.
Request
Responses
- 200
- 401
- 403
- 422
The updated visitor-push status.
Not authenticated. code: account_disabled means the member's seat was deactivated in this workspace: the session is over even though the token was not revoked (clients sign out and clean up).
Authenticated but not allowed.
The request failed validation.