This mutation create an allow list using the organization ID and AllowListInput.
Sample Mutation
mutation{
createAllowList(orgID:"a1dc174d-abf4-47d3-be3c-9281c6eba456"
allowListInput:{
filteringType:AllowList
identifierType:UserID
startTime:"2022-07-18T05:01:49Z"
endTime:"2022-08-01T05:01:49Z"
elements:"Allow list"
})
}
Sample Response
{
"data": {
"createAllowList": "9140ba87-572d-4f28-93d0-ca81ee49a8db"
}
}
Arguments
Name | Type | Description |
---|---|---|
orgID | UUID | The organization ID. |
allowListInput | Object | The input for creating an allow list. Represented in AllowListInput . |
Return
Name | Type | Description |
---|---|---|
N/A | String | The allow list ID. |
Example
Generate an allow list: