Partner keys
Revoke a partner key; it stops working at once
Needs the partner-keys:write scope. About scopes
keyheader
AuthorizationBearer <traki_account_…>id*stringFormat
uuidSuccess
application/json- response
id*stringFormat
uuidkeyId*stringapi*stringValue in
"account""publisher""buyer"mode*stringValue in
"live""test"name*stringpreview*stringholder*|nullscopes*array<string>ipAllowlist*array<string>version*stringstate*stringValue in
"active""suspended""revoked""expired"suspendedReason*string|nullexpiresAt*string|nulllastUsedAt*string|nulllastUsedIp*string|nullrotatedAt*string|nullpreviousExpiresAt*string|nullcreatedBy*string|nullcreatedAt*stringcurl -X POST 'https://api.traki.io/v1/account/partner-keys/497f6eca-6276-4993-bfeb-53cbbbba6f08/revoke' \ -H "Authorization: Bearer $TRAKI_KEY"Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "keyId": "string", "api": "account", "mode": "live", "name": "string", "preview": "string", "holder": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "scopes": [ "string" ], "ipAllowlist": [ "string" ], "version": "string", "state": "active", "suspendedReason": "string", "expiresAt": "string", "lastUsedAt": "string", "lastUsedIp": "string", "rotatedAt": "string", "previousExpiresAt": "string", "createdBy": "string", "createdAt": "string"}Roll a partner key: a new secret, the old one working for the chosen overlap POST
Previous Page
A short-lived token for one buyer or publisher, for your own web page to use POST
Needs buyers:read (or publishers:read) on the key, and :write for read_write. The token works only on that party’s Buyer or Publisher API, only from the origins named, for at most 15 minutes.