Account

Rename a key

Changes a key's label and nothing else: a name is not a capability, so (unlike revocation) this is safe on the key you are holding. Scoped to your own ACTIVE keys — a revoked key, or one belonging to another buyer, answers 404 rather than confirming the id exists. The name is trimmed to 1-80 characters.

patch/v1/keys/{key_id}

Request

  • Base URL: https://api.placementapi.com
  • URL: https://api.placementapi.com/v1/keys/{key_id}
  • Auth: HTTP bearer

Path parameters

key_idstring required

Request body

namestring required

The new label, required and non-blank after trimming.

Response

OK

key_idstring
namestring

Changes

No recorded changes to this operation across all 1 revision of this API.