Skip to main content
PUT
SetDeprecationQuery

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
actor
Actor · object
required

The person who makes the change. The mark, the history and every read name this person.

resolverQl
string

The query in resolver query language. Empty clears the query.

Maximum string length: 20000
etag
string | null

The etag of the query that you last read. The change is refused with ABORTED if the query changed since. Omit it to replace the query whatever it is.

Maximum string length: 200
reason
string

Why the person deprecates the entities that the query selects. It is kept with the mark and in the history.

Maximum string length: 2000

Response

200 - application/json

Success

query
DeprecationQuery · object

DeprecationQuery selects the deprecated entities of a workspace, beside the entities that a person deprecated one by one. A workspace has one.