Skip to main content

Update a shared token

PUT 

/v1/shared-tokens/:id

Changes the filters attached to a shared token.

Note: This endpoint requires permissions that must be set by our Support team. Please email help@logz.io for assistance. Please ensure to change the region in the URL to match your account's region.

Request

Path Parameters

    id int32required

Body

    filters int32[]required

    IDs of filters to attach to the token. To remove all filters, use an empty array [].

    filtersOperator string[]

    Logical operator used to combine filters. Possible values can be OR or AND.

Responses

successful operation

Schema
    id int32

    ID of the shared token

    name string

    Descriptive name of the token

    token string

    The token

    filters int32[]

    Array of filter IDs attached to each token. If no filter is attached, null.

    lastUsed int64[]

    UNIX timestamp in milliseconds. If token wasn't in use, null.

    expirationDate int64[]

    UNIX timestamp in milliseconds. If token doesn't have expiration date, null.

    filtersOperator string[]

    Logical operator used to combine filters. Possible values can be OR or AND.

Loading...