https://api.katapult.io/core/v1/organizations/organization/trash_objects
| Code | Error | When it happens |
|---|---|---|
|
|
missing_api_token
|
No API token was provided in the Authorization header. Ensure a token is provided prefixed with Bearer |
|
|
unauthorized_network_for_api_token
|
Network is not allowed to access the API with this API token |
|
|
invalid_api_token
|
The API token provided was not valid (it may not exist or have expired) |
|
|
token_owner_suspended
|
The user that owns the API token has been suspended |
|
|
invalid_capabilities_token
|
The capabilities token provided was not valid (either not valid, expired or not signed by the correct key) |
|
|
scope_not_granted
|
The scope required for this endpoint has not been granted to the authenticating identity |
|
|
organization_suspended
|
An organization was found from the arguments provided but it was suspended |
|
|
organization_not_activated
|
An organization was found from the arguments provided but it wasn't activated yet |
|
|
organization_not_found
|
No organization was found matching any of the criteria provided in the arguments |
|
|
rate_limit_reached
|
You have reached the rate limit for this type of request |
|
|
service_unavailable
|
The service is currently unavailable, please try again later |
organization[id]
string
query
The organization to find all trash objects for. All 'organization[]' params are mutually exclusive, only one can be provided.
organization[sub_domain]
string
query
The organization to find all trash objects for. All 'organization[]' params are mutually exclusive, only one can be provided.
page
integer
query
The page number to request. If not provided, the first page will be returned.
per_page
integer
query
The number of items to return per page. If not provided, the default value will be used.
pagination
object
current_page
integer
The current page
total_pages
integer
The total number of pages
total
integer
The total number of items across all pages
per_page
integer
The number of items per page
large_set
boolean
Is this a large set and therefore the total number of records cannot be returned?
trash_objects
array
The trash objects that belong to this organization
id
string
keep_until
integer
purge_after
integer
When the item becomes eligible for automatic purging under the current retention setting: the later of keep_until and the time it was trashed plus the retention period. Actual removal may be up to an hour later.
object_id
string
object_type
string
{
"pagination": {
"current_page": 0,
"total_pages": 0,
"total": 0,
"per_page": 0,
"large_set": true
},
"trash_objects": [
{
"id": "string",
"keep_until": 0,
"purge_after": 0,
"object_id": "string",
"object_type": "string"
}
]
}
Sent to https://api.katapult.io/core/v1 as a bearer token and never to Krystal Documentation. It isn't stored anywhere, so paste it again on each endpoint page.
Left blank, a parameter is omitted from the request.