Appearance
Provider invite invite user
POST
v1/ad/provider/user/:provider_id/invitation
Request
name | necessary | type | default | describe | ui |
---|---|---|---|---|---|
true | string | - | 邮箱(email) | ||
provider_id | true | string | - | 机构id(provider id) | |
member_id | true | array | - | 成员id(member id) |
Response data struct
name | necessary | type | default | describe | ui |
---|---|---|---|---|---|
code | true | int | - | 错误码(error code) | |
message | true | string | - | 错误信息(error message) | |
cause | true | string | - | 错误原因(error cause) | |
details | true | object | - | 详情(details) |
Example
- Body of raw:
json
{
"email": "xxx@email.com",
"member_id": [4,5]
}
{
"email": "xxx@email.com",
"member_id": [4,5]
}
- Header:
key | value |
---|---|
x-api-key | your's key value |
- Response body:
json
{
"code": 0,
"message": "Success",
"cause": "",
"details": {}
}
{
"code": 0,
"message": "Success",
"cause": "",
"details": {}
}