Flush a Resource

The path to flush cached data by GraphQL type.

post

Configurable using handlers_flush_by_type_path (in config.toml) or ORBIT_HANDLERS_FLUSH_BY_TYPE_PATH (using environment variables)

Body
typestringOptional
idstringOptional
Responses
200

Status indicating success or failure of the flush operation.

No content

post
POST /flush.type HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 27

{
  "type": "text",
  "id": "text"
}
200

Status indicating success or failure of the flush operation.

No content

Last updated