dots.v2.functions.namespaces.byNamespace_id().keys.byKey_id().put()
Generated on 5 Nov 2026
from DoTs version
v1.23.0
Usage
client.v2.functions.namespaces.byNamespace_id(namespace_id).keys.byKey_id(key_id).put(body: WithKey_PutRequestBody, requestConfiguration?: RequestConfiguration<object>): Promise<undefined | WithKey_PutResponse>Description
Updates the name of an access key for a serverless functions namespace.
To update an access key, send a PUT request to /v2/functions/namespaces/{namespace_id}/keys/{key_id}.
Parameters
Path Parameters
namespace_idstring requiredExample:
fn-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxThe ID of the namespace to be managed.
key_idstring requiredExample:
dof-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxThe ID of the access key to be managed.
Request Body
namestring requiredExample:
updated-key-nameThe new name for the access key.
Request Sample
Response Example
More Information
See /v2/functions/namespaces/{namespace_id}/keys/{key_id} in the API reference for additional detail on responses, headers, parameters, and more.