Invite new users as organization admin (admin with pending approval)

post/api/usermanagement/v1/admin/organizations/{orgId}/orgadmin/invite

Invite users who are not yet org members to join as organization admin. Accepts sets of emails and/or userIds; each entry creates a separate pending change requiring individual approval. Users already in the org are rejected.

Path Parameters

  • orgIdstringRequired
    External organization ID

Request Body

emails array[string]
Email addresses of users to invite. Use for users who may not yet have a WP account.
userIds array[string]
WP external user IDs. Use for users who already have a WP account. Users who are already active org members will be rejected with a 400 error.
ticket string
Optional support ticket reference to associate with this invite.

202 Response

400 Response

403 Response

404 Response