[{"label":"Latest (5.0.0)","version":"latest"},{"version":"4.5.1"},{"version":"4.5.0"},{"version":"4.4.0"},{"version":"4.3.1"},{"link":"https://developer.vmware.com/apis/1126/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1077/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1032/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1002/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/921/vmware-cloud-foundation","version":"4.0"},{"link":"https://developer.vmware.com/apis/925/vmware-cloud-foundation","version":"3.10"},{"link":"https://developer.vmware.com/apis/891/vmware-cloud-foundation","version":"3.9.1"},{"link":"https://developer.vmware.com/apis/723/vmware-cloud-foundation","version":"3.9.0"},{"link":"https://developer.vmware.com/apis/711/vmware-cloud-foundation","version":"3.8.1"},{"link":"https://developer.vmware.com/apis/685/vmware-cloud-foundation","version":"3.8"}]
vcf

Add Users To VASA Provider

Description

Add the users to a VASA Provider

Request

Request

URL

URL


post
https://sfo-vcf01.rainpole.io/v1/vasa-providers/{id}/users
Copy

Path Parameters

Path Parameters

string
id Required

VASA Provider ID


Request Body

Request Body

array of VasaUser of type(s) application/json Required

VASA Users data

{
	"password": "string",
	"username": "string"
}
string
password Required

Password


string
username Required

VASA User name


string
id Optional

ID of the VASA User

Response

Response

Response Body

Response Body

201 Created

Returns VasaProvider of type(s) application/json
{
	"id": "string",
	"name": "string",
	"storageContainers": [
		{
			"clusterId": "string",
			"id": "string",
			"name": "string",
			"protocolType": "One among: ISCSI, FC, NFS"
		}
	],
	"url": "string",
	"users": [
		{
			"id": "string",
			"password": "string",
			"username": "string"
		}
	]
}
string
name Required

Name of the VASA Provider


array of StorageContainer
storageContainers Required

List of storage containers associated with the VASA Provider


string
url Required

URL of the VASA Provider


array of VasaUser
users Required

List of users associated with the VASA Provider


string
id Optional

ID of the VASA Provider

Errors

Errors

Error
400

Bad Request


Error
404

VASA Provider not found


Error
500

InternalServerError

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '[{"id":"string","password":"string","username":"string"}]' https://sfo-vcf01.rainpole.io/v1/vasa-providers/{id}/users


[{"label":"Latest (5.0.0)","version":"latest"},{"version":"4.5.1"},{"version":"4.5.0"},{"version":"4.4.0"},{"version":"4.3.1"},{"link":"https://developer.vmware.com/apis/1126/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1077/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1032/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1002/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/921/vmware-cloud-foundation","version":"4.0"},{"link":"https://developer.vmware.com/apis/925/vmware-cloud-foundation","version":"3.10"},{"link":"https://developer.vmware.com/apis/891/vmware-cloud-foundation","version":"3.9.1"},{"link":"https://developer.vmware.com/apis/723/vmware-cloud-foundation","version":"3.9.0"},{"link":"https://developer.vmware.com/apis/711/vmware-cloud-foundation","version":"3.8.1"},{"link":"https://developer.vmware.com/apis/685/vmware-cloud-foundation","version":"3.8"}]
vcf
Feedback

Was this page helpful?