Sets or updates the user-defined custom data (JSON blob) for a specific user within an organization. The provided JSON data is merged with the existing data. Requires JWT authentication. Users can update their own data; Admins/Owners can update any member's data.
Request
Path Params
Body Params application/json
Examples
Responses
🟢200OK
application/json
Updated custom data (wrapped in 'data' field)
Body
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request PUT 'https://useraccounts.srblabs.io/api/v1/organizations//users//custom' \
--header'Content-Type: application/json' \
--data-raw'{}'