LabelApi
All URIs are relative to https://api.ionos.com/cloudapi/v5
datacentersLabelsDelete
object datacentersLabelsDelete(datacenterId, key, opts)
Delete a Label from Data Center
This will remove a label from the data center.
Examples
Parameters
Return type
object
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: Not defined
Accept: application/json
datacentersLabelsFindByKey
datacentersLabelsFindByKey(datacenterId, key, opts)
Retrieve a Label of Data Center
This will retrieve the properties of a associated label to a data center.
Examples
Parameters
Return type
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: Not defined
Accept: application/json
datacentersLabelsGet
datacentersLabelsGet(datacenterId, opts)
List all Data Center Labels
You can retrieve a list of all labels associated with a data center
Examples
Parameters
Return type
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: Not defined
Accept: application/json
datacentersLabelsPost
datacentersLabelsPost(datacenterId, label, opts)
Add a Label to Data Center
This will add a label to the data center.
Examples
Parameters
Return type
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: application/json
Accept: application/json
datacentersLabelsPut
datacentersLabelsPut(datacenterId, key, label, opts)
Modify a Label of Data Center
This will modify the value of the label on a data center.
Examples
Parameters
Return type
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: application/json
Accept: application/json
datacentersServersLabelsDelete
object datacentersServersLabelsDelete(datacenterId, serverId, key, opts)
Delete a Label from Server
This will remove a label from the server.
Examples
Parameters
Return type
object
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: Not defined
Accept: application/json
datacentersServersLabelsFindByKey
datacentersServersLabelsFindByKey(datacenterId, serverId, key, opts)
Retrieve a Label of Server
This will retrieve the properties of a associated label to a server.
Examples
Parameters
Return type
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: Not defined
Accept: application/json
datacentersServersLabelsGet
datacentersServersLabelsGet(datacenterId, serverId, opts)
List all Server Labels
You can retrieve a list of all labels associated with a server
Examples
Parameters
Return type
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: Not defined
Accept: application/json
datacentersServersLabelsPost
datacentersServersLabelsPost(datacenterId, serverId, label, opts)
Add a Label to Server
This will add a label to the server.
Examples
Parameters
Return type
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: application/json
Accept: application/json
datacentersServersLabelsPut
datacentersServersLabelsPut(datacenterId, serverId, key, label, opts)
Modify a Label of Server
This will modify the value of the label on a server.
Examples
Parameters
Return type
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: application/json
Accept: application/json
datacentersVolumesLabelsDelete
object datacentersVolumesLabelsDelete(datacenterId, volumeId, key, opts)
Delete a Label from Volume
This will remove a label from the volume.
Examples
Parameters
Return type
object
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: Not defined
Accept: application/json
datacentersVolumesLabelsFindByKey
datacentersVolumesLabelsFindByKey(datacenterId, volumeId, key, opts)
Retrieve a Label of Volume
This will retrieve the properties of a associated label to a volume.
Examples
Parameters
Return type
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: Not defined
Accept: application/json
datacentersVolumesLabelsGet
datacentersVolumesLabelsGet(datacenterId, volumeId, opts)
List all Volume Labels
You can retrieve a list of all labels associated with a volume
Examples
Parameters
Return type
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: Not defined
Accept: application/json
datacentersVolumesLabelsPost
datacentersVolumesLabelsPost(datacenterId, volumeId, label, opts)
Add a Label to Volume
This will add a label to the volume.
Examples
Parameters
Return type
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: application/json
Accept: application/json
datacentersVolumesLabelsPut
datacentersVolumesLabelsPut(datacenterId, volumeId, key, label, opts)
Modify a Label of Volume
This will modify the value of the label on a volume.
Examples
Parameters
Return type
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: application/json
Accept: application/json
ipblocksLabelsDelete
object ipblocksLabelsDelete(ipblockId, key, opts)
Delete a Label from IP Block
This will remove a label from the Ip Block.
Examples
Parameters
Return type
object
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: Not defined
Accept: application/json
ipblocksLabelsFindByKey
ipblocksLabelsFindByKey(ipblockId, key, opts)
Retrieve a Label of IP Block
This will retrieve the properties of a associated label to a Ip Block.
Examples
Parameters
Return type
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: Not defined
Accept: application/json
ipblocksLabelsGet
ipblocksLabelsGet(ipblockId, opts)
List all Ip Block Labels
You can retrieve a list of all labels associated with a IP Block
Examples
Parameters
Return type
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: Not defined
Accept: application/json
ipblocksLabelsPost
ipblocksLabelsPost(ipblockId, label, opts)
Add a Label to IP Block
This will add a label to the Ip Block.
Examples
Parameters
Return type
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: application/json
Accept: application/json
ipblocksLabelsPut
ipblocksLabelsPut(ipblockId, key, label, opts)
Modify a Label of IP Block
This will modify the value of the label on a Ip Block.
Examples
Parameters
Return type
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: application/json
Accept: application/json
labelsFindByUrn
labelsFindByUrn(labelurn, opts)
Returns the label by its URN.
Examples
Parameters
Return type
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: Not defined
Accept: application/json
labelsGet
labelsGet(opts)
List Labels
You can retrieve a complete list of labels that you have access to.
Examples
Parameters
Return type
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: Not defined
Accept: application/json
snapshotsLabelsDelete
object snapshotsLabelsDelete(snapshotId, key, opts)
Delete a Label from Snapshot
This will remove a label from the snapshot.
Examples
Parameters
Return type
object
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: Not defined
Accept: application/json
snapshotsLabelsFindByKey
snapshotsLabelsFindByKey(snapshotId, key, opts)
Retrieve a Label of Snapshot
This will retrieve the properties of a associated label to a snapshot.
Examples
Parameters
Return type
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: Not defined
Accept: application/json
snapshotsLabelsGet
snapshotsLabelsGet(snapshotId, opts)
List all Snapshot Labels
You can retrieve a list of all labels associated with a snapshot
Examples
Parameters
Return type
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: Not defined
Accept: application/json
snapshotsLabelsPost
snapshotsLabelsPost(snapshotId, label, opts)
Add a Label to Snapshot
This will add a label to the snapshot.
Examples
Parameters
Return type
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: application/json
Accept: application/json
snapshotsLabelsPut
snapshotsLabelsPut(snapshotId, key, label, opts)
Modify a Label of Snapshot
This will modify the value of the label on a snapshot.
Examples
Parameters
Return type
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: application/json
Accept: application/json
Last updated