Reassign a Cluster Label

PUT /api/v1.3/clusters/reassign-label

This API is used to reassign a label from one cluster to another.

Required Role

The following users can make this API call:

  • Users who belong to the system-admin group.
  • Users who belong to a group associated with a role that allows editing a cluster configuration. See Managing Groups and Managing Roles for more information.


Parameter Description
label Label to be moved from the source cluster.
destination_cluster ID or label of the cluster to move the label to.


Reassign a label from one cluster to another

curl -X PUT -H "X-AUTH-TOKEN:$X_AUTH_TOKEN" -H "Content-Type: application/json" -H "Accept: application/json" \
-d '{"label":"pig_workflow", "destination_cluster": 1710}' \


The above syntax uses as the endpoint. Qubole provides other endpoints to access QDS that are described in Supported Qubole Endpoints on Different Cloud Providers.


{"message":"Reassigned cluster label pig_workflow from cluster with id 1711 to cluster with id 1710."}