diff --git a/api-ref/source/v3/parameters.yaml b/api-ref/source/v3/parameters.yaml index 161e9800ac7..a1d91a392b0 100644 --- a/api-ref/source/v3/parameters.yaml +++ b/api-ref/source/v3/parameters.yaml @@ -2317,7 +2317,7 @@ service_id: UUID for the cleanup service. in: body required: false - type: string + type: integer service_key: description: | The service name. Deprecated. Keeping service key diff --git a/api-ref/source/v3/samples/worker-cleanup-request.json b/api-ref/source/v3/samples/worker-cleanup-request.json index 5b80c6c7a78..9660dc5dd4e 100644 --- a/api-ref/source/v3/samples/worker-cleanup-request.json +++ b/api-ref/source/v3/samples/worker-cleanup-request.json @@ -2,7 +2,7 @@ "cluster": "test", "disabled": "True", "host": "host1@lvmdriver" - "service_id": "1", + "service_id": 1, "is_up": "True", "binary": "cinder-volume", "resource_id": "b122f668-d15a-40f8-af21-38d218796ab8", diff --git a/api-ref/source/v3/samples/worker-cleanup-response.json b/api-ref/source/v3/samples/worker-cleanup-response.json index 073e71ebcf8..8ff70649203 100644 --- a/api-ref/source/v3/samples/worker-cleanup-response.json +++ b/api-ref/source/v3/samples/worker-cleanup-response.json @@ -1,7 +1,7 @@ { "cleaning": [ { - "id" "1", + "id": 1, "host": "host1@lvmdriver", "binary": "cinder-volume", "cluster_name": "test"