Menu
Update API key
Update API key
PATCH
/keys/{key}Use it in a workflow
- Add a step and choose the Meilisearch connector.
- Pick the Update API key action (under Keys).
- Fill in the fields below, then reference the result from later steps as
{{updateApiKey.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"description": "This key is used to update documents in the products index",
"name": "Indexing Products API key"
}
Response
Returns 200 with an object. Read it in later steps with {{updateApiKey.response.data.<field>}}.
{
"key": "string",
"uid": "00000000-0000-0000-0000-000000000000",
"actions": [
"*"
],
"indexes": [
"string"
],
"createdAt": "2025-01-01T00:00:00Z",
"updatedAt": "2025-01-01T00:00:00Z",
"name": "string",
"description": "string",
"expiresAt": "2025-01-01T00:00:00Z"
}
Need more? See the Meilisearch guide for connection setup and behaviour shared by every action.
Was this page helpful?