post https://{serverid}.nexusrun.com/databases/{databaseid}/buckets//rename
This API endpoint is used to rename an existing bucket in the NexusRunDB database with a new name.
-
Please note that only the Master access key or a token generated for the Master access key is allowed to access this endpoint.
-
You need to pass the new ID of the bucket in the HTTP request body. The API will use this new ID to rename the bucket in the database.
-
If a bucket with the same ID already exists, a Bad Request (400) response will be returned. This indicates that the requested operation cannot be completed due to a conflicting bucket ID.
-
The maximum length for a bucket ID is 128 bytes, and the use of forward slashes ( / ) is not allowed in the bucket ID.
-
Unicode characters are allowed in the new bucket ID.