Seat Preevue developer docs

Update label, origins, origin-only, embed frame-ancestors, venues, rate limits or status

PATCH https://connect.seatpreevue.com/v1/manage/keys/{keyId}

Operation updateKey · Management

Authentication: a secret key (sk_live_…). See Authentication.

status: active cancels a rotation's scheduled revoke; a revoked key can't be made active again (400) or otherwise changed (409 conflict). rateLimit is admin scope only (403 scope_insufficient). If the key changed since this request read it (a concurrent revoke, rotation or update), nothing is written: 409 conflict; read it and retry. Origins follow createKey's rules for the lists this request sends. On a keyless key, changing allowedOrigins or allowOriginOnly is admin scope only, and an origin another keyless key holds is 409 conflict (1.10.0).

Parameters

Name In Type Required Description
keyId path string matching ^key_[A-Za-z0-9]{12,}$ yes

Request body

application/json: UpdateKeyRequest

Responses

Status Description Body
200 Updated ApiKey
400 Validation failed Problem
401 Missing, unknown or revoked key Problem
403 Origin, venue, scope or key type not permitted Problem
404 Not found Problem
409 The key changed concurrently or is revoked, or an origin is held by another keyless key (conflict) Problem

Errors use Problem (application/problem+json): see Errors.