Admin
Update an API Key
Update an API Key properties except for access_key.
put/admin/api-keys/{key_id}
Request
- Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
- URL: https://api.presscart.com/admin/api-keys/{key_id}
- Auth: HTTP bearer
Path parameters
key_idstring uuid required
Example:abbb958d-033e-4bc3-8cdb-5c85ad0c290f
Request body
Example request
{
"description": "Order sync for the n8n workflow",
"token_type": "read_only",
"permissions": [
{
"action": "orders.lists"
}
]
}Response
API Key updated successfully
Example response
{
"access_key_prefix": "pc_e364",
"access_key_last4": "YMQq",
"token_type": "read_only",
"description": "Order sync for the n8n workflow",
"lifespan": 2592000,
"level": "team"
}Changes
No recorded changes to this operation across all 2 revisions of this API.