diff --git a/v1/api/swagger/components/parameters/SiteID.yaml b/v1/api/swagger/components/parameters/SiteID.yaml index 35a88da3..4623a00a 100644 --- a/v1/api/swagger/components/parameters/SiteID.yaml +++ b/v1/api/swagger/components/parameters/SiteID.yaml @@ -3,5 +3,9 @@ in: query description: GreenLake site ID required: false schema: - type: string + type: array + items: + type: string +style: form +explode: true example: 95688cf9-82ff-4e32-80fc-2b0b41648dab diff --git a/v1/api/swagger/components/schemas/UpdateProject.yaml b/v1/api/swagger/components/schemas/UpdateProject.yaml index c1025775..7d6c750e 100644 --- a/v1/api/swagger/components/schemas/UpdateProject.yaml +++ b/v1/api/swagger/components/schemas/UpdateProject.yaml @@ -23,3 +23,12 @@ allOf: example: - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - 91eec8b5-6460-4532-aad1-47b983edb63c + PermittedSites: + description: Array listing the permitted site IDs + type: array + items: + type: string + format: uuid + example: + - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - 91eec8b5-6460-4532-aad1-47b983edb63c diff --git a/v1/html/index.html b/v1/html/index.html index 9cd33fbe..ca67b324 100644 --- a/v1/html/index.html +++ b/v1/html/index.html @@ -2413,7 +2413,8 @@
ID required | string <uuid> Unique ID for the resource instance as generated by the Metal service |
ETag required | string <uuid> Used to determine whether the DB entry has changed since it was last read. This value is updated each time the resource is updated. Client must send this value unchanged for any update operation. |
Name required | string Common name for the resource instance. Must be 128 or fewer printable characters - |
required | object (UpdateProfile) |
required | object (UpdateLimits) |
PermittedOSImages required | Array of strings <uuid> Array listing the permitted OS service images. + |
required | object (UpdateProfile) |
required | object (UpdateLimits) |
PermittedOSImages required | Array of strings <uuid> Array listing the permitted OS service images. + |
PermittedSites | Array of strings <uuid> Array listing the permitted site IDs |
{- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394",
- "Name": "My Object Name",
- "Profile": {
- "TeamName": "string",
- "TeamDesc": "string",
- "Company": "string",
- "Address": "string",
- "Email": "string",
- "EmailVerified": true,
- "PhoneNumber": "string",
- "PhoneVerified": true
}, - "Limits": {
- "Hosts": 0,
- "Volumes": 0,
- "VolumeCapacity": 0,
- "PrivateNetworks": 0,
- "InstanceTypes": {
- "046b6c7f-0b8a-43b9-b35d-6489e6daee90": 1
}
}, - "PermittedOSImages": [
- "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "91eec8b5-6460-4532-aad1-47b983edb63c"
]
}
{- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394",
- "Name": "My Object Name",
- "Created": "2019-06-27T22:59:01.661Z",
- "Modified": "2020-02-27T18:28:02.863Z",
- "Profile": {
- "TeamName": "string",
- "TeamDesc": "string",
- "Company": "string",
- "Address": "string",
- "Email": "string",
- "EmailVerified": true,
- "PhoneNumber": "string",
- "PhoneVerified": true
}, - "Limits": {
- "Hosts": 0,
- "Volumes": 0,
- "VolumeCapacity": 0,
- "PrivateNetworks": 0,
- "InstanceTypes": {
- "046b6c7f-0b8a-43b9-b35d-6489e6daee90": 1
}
}, - "Resources": {
- "Hosts": 0,
- "Volumes": 0,
- "VolumeCapacity": 0,
- "PrivateNetworks": 0,
- "InstanceTypes": {
- "046b6c7f-0b8a-43b9-b35d-6489e6daee90": 1
}
}, - "PermittedSites": [
- "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "91eec8b5-6460-4532-aad1-47b983edb63c"
], - "PermittedOSImages": [
- "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "91eec8b5-6460-4532-aad1-47b983edb63c"
], - "VolumeReplicationEnabled": true,
- "ParentID": "string"
}
Deletes the Project with the matching ID. Note that a Hoster or BMaaS Access Owner (under GreenLake Cloud Services), or BMaaS Tenant Owner or Service Platform Owner role (under GreenLake Platform) is required for this operation. If GreenLake Platform IAM issued token is used for authentication, then it is required to pass 'X-Role' and 'X-Workspaceid' headers.
+{- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394",
- "Name": "My Object Name",
- "Profile": {
- "TeamName": "string",
- "TeamDesc": "string",
- "Company": "string",
- "Address": "string",
- "Email": "string",
- "EmailVerified": true,
- "PhoneNumber": "string",
- "PhoneVerified": true
}, - "Limits": {
- "Hosts": 0,
- "Volumes": 0,
- "VolumeCapacity": 0,
- "PrivateNetworks": 0,
- "InstanceTypes": {
- "046b6c7f-0b8a-43b9-b35d-6489e6daee90": 1
}
}, - "PermittedOSImages": [
- "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "91eec8b5-6460-4532-aad1-47b983edb63c"
], - "PermittedSites": [
- "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "91eec8b5-6460-4532-aad1-47b983edb63c"
]
}
{- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394",
- "Name": "My Object Name",
- "Created": "2019-06-27T22:59:01.661Z",
- "Modified": "2020-02-27T18:28:02.863Z",
- "Profile": {
- "TeamName": "string",
- "TeamDesc": "string",
- "Company": "string",
- "Address": "string",
- "Email": "string",
- "EmailVerified": true,
- "PhoneNumber": "string",
- "PhoneVerified": true
}, - "Limits": {
- "Hosts": 0,
- "Volumes": 0,
- "VolumeCapacity": 0,
- "PrivateNetworks": 0,
- "InstanceTypes": {
- "046b6c7f-0b8a-43b9-b35d-6489e6daee90": 1
}
}, - "Resources": {
- "Hosts": 0,
- "Volumes": 0,
- "VolumeCapacity": 0,
- "PrivateNetworks": 0,
- "InstanceTypes": {
- "046b6c7f-0b8a-43b9-b35d-6489e6daee90": 1
}
}, - "PermittedSites": [
- "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "91eec8b5-6460-4532-aad1-47b983edb63c"
], - "PermittedOSImages": [
- "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "91eec8b5-6460-4532-aad1-47b983edb63c"
], - "VolumeReplicationEnabled": true,
- "ParentID": "string"
}
Deletes the Project with the matching ID. Note that a Hoster or BMaaS Access Owner (under GreenLake Cloud Services), or BMaaS Tenant Owner or Service Platform Owner role (under GreenLake Platform) is required for this operation. If GreenLake Platform IAM issued token is used for authentication, then it is required to pass 'X-Role' and 'X-Workspaceid' headers.
projectId required | string ID of project to delete |