Me
Update an API key.
ROLES: ME_KEY_MANAGER USER: true SERVICE ACCOUNT: true
POST
/
api
/
v1
/
me
/
key
/
{key}
/
update
Update an API key.
curl --request POST \
--url https://api.revoengine.com/api/v1/me/key/{key}/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"version": 1,
"name": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({version: 1, name: '<string>'})
};
fetch('https://api.revoengine.com/api/v1/me/key/{key}/update', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/me/key/{key}/update"
payload = {
"version": 1,
"name": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Authorizations
Bearer JWT token or API Key (sk-*).
Path Parameters
Body
application/json
Current API key version used for optimistic concurrency control.
Required range:
x >= 0You need to provide name of the user.
Replacement resource metadata. Top-level keys starting with "__" are reserved for backend use.
You can provide if key should be whitelisted.
Use an empty array or null when restricted is false; provide at least one complete entry when setting restricted to true.
Show child attributes
Show child attributes
Optional six-character confirmation code when required by the account policy.
Required string length:
6Response
OK.
Last modified on September 5, 2026
⌘I
Update an API key.
curl --request POST \
--url https://api.revoengine.com/api/v1/me/key/{key}/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"version": 1,
"name": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({version: 1, name: '<string>'})
};
fetch('https://api.revoengine.com/api/v1/me/key/{key}/update', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/me/key/{key}/update"
payload = {
"version": 1,
"name": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
