Whitelisted sources
Get a list of whitelist resources
Query parameters
offsetintegerOptional
Pagination offset
limitinteger · min: 1 · max: 100Optional
Pagination limit
orderBystringOptionalExample:
Order the results by this field, in this direction
createdAt:descPattern: ^[a-zA-Z0-9\_]+(:(asc|desc))?$Responses
200
OK
application/json
get
/whitelisted-sources200
OK
Create a whitelist (trusted resource)
Body
A trusted resource (e.g. email, domain, IP)
idstring · uuidRead-onlyOptional
typestring · enumRequiredPossible values:
Type of trusted resource
namestringRequired
Friendly name of trusted resource
descriptionstring | nullableOptional
Freetext description of trusted resource
trustedDaysnumber | nullableOptional
Consider this resource trusted for this duration of time since the seed has been planted
createdAtstring · date-timeRead-onlyOptional
updatedAtstring · date-timeRead-onlyOptional
createdByTypestring | nullableRead-onlyOptional
createdByIdstring | nullableRead-onlyOptional
updatedByTypestring | nullableRead-onlyOptional
updatedByIdstring | nullableRead-onlyOptional
settingsany ofRequired
or
or
or
Responses
201
Created
application/json
post
/whitelisted-sources201
Created
Update a whitelisted-source
Path parameters
whitelistIdstring · uuidRequired
Body
statusstringOptional
Whitelisted-source description
trustedDaysnumberOptional
Number of days which this source will be whitelisted for
Responses
200
OK
application/json
patch
/whitelisted-sources/{whitelistId}200
OK
Was this helpful?