Internal
Update the account owner for an organization (internal)
Applies a partial update to the user holding the account_owner role for the supplied organization_id. Email changes for confirmed owners are staged via email_confirmations (link is sent to the new address); for unconfirmed owners the email column is written directly. Cross-user email uniqueness is enforced.
post/v1/users/update
Request
- Base URLhttps://identity-api.paymongo.com
- URLhttps://identity-api.paymongo.com/v1/users/update
- AuthAPI key in header X-Internal-Api-Key
Request body
Example request
{
"accelerator_program_code": "sme",
"affiliate_partner": "partner-name",
"contact_number": "+639171234567",
"email": "owner@example.com",
"first_name": "Juan",
"last_name": "dela Cruz",
"organization_id": "org_abc123"
}Response
OK
Example response
{
"data": {
"attributes": {
"accelerator_program_code": "sme",
"affiliate_partner": "partner-name",
"confirmed": true,
"contact_number": "+639171234567",
"email": "owner@example.com",
"email_confirmation": "new-owner@example.com",
"email_confirmation_updated_at": 1735689600,
"first_name": "Juan",
"last_name": "dela Cruz",
"organization_id": "org_abc123",
"roles": [
"account_owner"
]
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.