cURL
curl --request PATCH \ --url https://api.veryfront.com/api-keys/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "expires_at": "<string>" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "key_prefix": "<string>", "last_used_at": "<string>", "expires_at": "<string>", "created_at": "<string>", "updated_at": "<string>", "scopes": [ "<string>" ] }
Updates an API key by ID.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1 - 255
API key updated successfully