POST
/
security
/
merchantUsers
/
reinvite
cURL
curl -X POST "https://dev.api.onekhusa.com/sandbox/v1/security/merchantUsers/reinvite" \
  --header "Authorization: Bearer your-jwt-token" \
  --header "Content-Type: application/json" \
  --header "Accept-Language: en" \
  -d '{
    "organisationId": "FYH0NTVW0DXK",
    "merchantAccountNumber": 35253486,
    "userId": "user-id-123"
  }'
"The user invitation email sent"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer Token, Where accessToken is the access token used to authenticate the request.

Headers

Accept-Language
string
default:en

Preferred language for the response

Body

application/json
organisationId
string
required

The unique identifier of the organisation

Example:

"FYH0NTVW0DXK"

merchantAccountNumber
integer
required

The unique identifier of the merchant account

Required range: 10000000 <= x <= 99999999
Example:

35253486

userId
string
required

The unique identifier of the user to reinvite

Example:

"user-id-123"

Response

200 - application/json

User invitation email sent

message
string

Success message confirming the invitation email was sent

Example:

"User invitation email sent"