Skip to content

Provider invite invite user

POST v1/ad/provider/user/:provider_id/invitation

Request

namenecessarytypedefaultdescribeui
emailtruestring-邮箱(email)
provider_idtruestring-机构id(provider id)
member_idtruearray-成员id(member id)

Response data struct

namenecessarytypedefaultdescribeui
codetrueint-错误码(error code)
messagetruestring-错误信息(error message)
causetruestring-错误原因(error cause)
detailstrueobject-详情(details)

Example

  • Body of raw:
json
{
    "email": "xxx@email.com",
    "member_id": [4,5]
}
{
    "email": "xxx@email.com",
    "member_id": [4,5]
}
  • Header:
keyvalue
x-api-keyyour's key value
  • Response body:
json
{
    "code": 0,
    "message": "Success",
    "cause": "",
    "details": {}
}
{
    "code": 0,
    "message": "Success",
    "cause": "",
    "details": {}
}