List invitations
GET/invitation
Lists the invitations.
Request
Query Parameters
Possible values: >= 1
Default value: 10
The number of items displayed per page.
Possible values: >= 1
Default value: 1
The sequence number of the current page.
The list of the role IDs.
The list of invitation statuses. Supported statuses include INACTIVE, ACCEPTED, and EXPIRED. If specified, only the invitations in any of the listed statuses will be returned. If not specified, the invitations in the INACTIVE and EXPIRED will be returned.
Header Parameters
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
The response code.
data
object
The page object.
The sequence number of current page.
The number of items returned per page.
records
object[]
The records in the current page.
The email address to receive the invitation.
The expiration time of the invitation.
The invitation ID.
The ID of the role to which the subaccount will be assigned.
Possible values: [PENDING
, ACCEPTED
, EXPIRED
]
The invitation status.
The number of pages in total.
The response message.
{
"code": 0,
"data": {
"pageNumber": 0,
"pageSize": 0,
"records": [
{
"email": "[email protected]",
"expiredTime": 1685510869834,
"id": "invite-100001",
"roleId": "role-100001",
"status": "PENDING"
}
],
"total": 0
},
"msg": "string"
}