{"type":"api","title":"Update name of backup restore jobs","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/b95772dc6c621d9842faced8610ee58b0cb9cb02/e48c8a9a-1f0a-35b4-9617-f132aa89f152","info":{"title":"Crosswork Backup Restore Manager API","description":"Backup Restore Manager provides API methods for backup and restore operations on Crosswork. This includes backup, data only backup, restore, data only restore and migration.","version":"3.0.0","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"https://www.cisco.com/public/sw-license-agreement.html"}},"x-parser-conf":{"overview":{"markdownPath":"reference/INFRA/BACKUP_RESTORE/backup-restore-v1-overview.md"}},"swagger":"2.0","basePath":"/crosswork/platform/v1","securityDefinitions":{"api_key":{"description":"security definitions details","type":"apiKey","name":"Authorization","in":"header"}}},"spec":{"summary":"Update name of backup restore jobs","description":"Updates the display names of existing backup and restore jobs for better organization and identification. This allows administrators to rename jobs with more descriptive or meaningful names after they have been created.","operationId":"BackupServices_RequestVMBackupRestoreJobNames","responses":{"200":{"description":"A successful response.","schema":{"type":"object","properties":{"message":{"type":"string"}}},"examples":{"example":{"message":"Job names updated successfully"}}},"default":{"description":"An unexpected error response.","schema":{"type":"object","description":"Standard error response containing detailed error information","properties":{"error":{"type":"string","description":"Error message"},"code":{"type":"integer","format":"int32","description":"Error code"},"message":{"type":"string","description":"Detailed error message"},"details":{"type":"array","description":"Additional error details","items":{"type":"object","description":"Protocol Buffers Any message type for containing arbitrary serialized messages","properties":{"type_url":{"type":"string","description":"Type URL that identifies the message type"},"value":{"type":"string","format":"byte","description":"Serialized message value"}},"example":{"type_url":"type.googleapis.com/error.details","value":"CgVoZWxsbw=="},"$$ref":"#/definitions/protobufAny"}}},"example":{"error":"","code":13,"message":"failed to marshal error message","details":[]},"$$ref":"#/definitions/runtimeError"}}},"parameters":[{"description":"Update name of backup restore jobs","name":"body","in":"body","required":true,"schema":{"type":"object","description":"Batch operation to update names of multiple backup and restore jobs","properties":{"jobs":{"type":"array","description":"Array of job name update operations","items":{"type":"object","description":"Individual job name update operation containing job ID and new name","properties":{"jobId":{"type":"string","description":"Unique identifier of the job to rename"},"jobName":{"type":"string","description":"New name for the job"}},"example":{"jobId":"1a6a2734-6c6f-49b6-a7b2-bfe7adb3606c","jobName":"daily-backup-renamed"},"$$ref":"#/definitions/backupRequestVMBackupRestoreJobNameOp"}}},"example":{"jobs":[{"jobId":"1a6a2734-6c6f-49b6-a7b2-bfe7adb3606c","jobName":"daily-backup-renamed"}]},"$$ref":"#/definitions/backupRequestVMBackupRestoreJobNamesOp"}}],"tags":["BackupServices"],"__originalOperationId":"BackupServices_RequestVMBackupRestoreJobNames","consumes":["application/json"],"produces":["application/json"],"method":"post","path":"/platform/backup/update"}}