pydo.spaces_key.patch()
Generated on 18 Nov 2025
from pydo version
v0.21.0
Description
To update Spaces Access Key, send a PUT or PATCH request to /v2/spaces/keys/$ACCESS_KEY. At the moment, you cannot convert a
fullaccess key to a scoped key or vice versa. You can only update the name of the key.
Parameters
| Name | Type | Required | Description | Default Value |
|---|---|---|---|---|
access_key |
string | True | The access key’s ID. | |
body |
JSON or IO[bytes] | True |
More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.