action journy_upsert_account { label: "Create or update account" description: "Endpoint used to create or update an account." provider: journy method: POST path: "/accounts/upsert" encoding: json input: { type: "object" description: "Update properties and/or members of an account" required: ["identification"] properties: { identification: { type: "object" description: "Account identification requires an accountId, domain or both" properties: { accountId: { type: "string" format: "account-id" description: "Unique identifier for the account in your database" } domain: { type: "string" format: "top-level-domain" description: "The domain associated with the account (e.g. acme-inc.com)" } } } properties: { type: "object" description: "The properties being set, possible values are strings, booleans, numbers and datetimes (ISO 8601)" } } } output: { type: "object" } }