[{"label":"Latest (4.4.0)","version":"latest"},{"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

Description

Add list of users

Request

Request

URL

URL


post
https://sfo-vcf01.rainpole.io/v1/users
Copy

Request Body

Request Body

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

User data collection

{
	"name": "string",
	"role": {
		"id": "string"
	},
	"type": "One among: USER, GROUP, SERVICE"
}
string
type Required

The type of the user


string
name Required

The name of the user


role Required

The role of the user


string
creationTimestamp Optional

The timestamp at which the user was created


string
domain Optional

The domain of the user


string
id Optional

The ID of the user


string
apiKey Optional

The API key of the user

Response

Response

Response Body

Response Body

201 Created returns PageOfUser of type(s) application/json
{
	"elements": [
		{
			"apiKey": "string",
			"creationTimestamp": "string",
			"domain": "string",
			"id": "string",
			"name": "string",
			"role": {
				"id": "string"
			},
			"type": "One among: USER, GROUP, SERVICE"
		}
	],
	"pageMetadata": {
		"pageNumber": 0,
		"pageSize": 0,
		"totalElements": 0,
		"totalPages": 0
	}
}
array of User
elements Optional

The list of elements included in this page


pageMetadata Optional

Pageable elements pagination metadata information

Errors

Errors

400

Bad request


401

Unauthorized Request


500

Internal Server Error

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '[{"apiKey":"string","creationTimestamp":"string","domain":"string","id":"string","name":"string","role":{"id":"string"},"type":"One among: USER, GROUP, SERVICE"}]' https://sfo-vcf01.rainpole.io/v1/users


[{"label":"Latest (4.4.0)","version":"latest"},{"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?