[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager

Create Group V2

Description

This API is used to add a group and assign roles to it. You can fetch different roles by triggering get all external roles.

Request

Request

URL

URL


post
https://localhost:8080/lcm/authzn/api/v2/groups
Copy

Request Body

Request Body

GroupRequestDTO of type(s) application/json Required

groupRequestDTO

{
	"displayName": "ALL USERS",
	"domain": "example.com",
	"groupMetadata": {
		"additionalMeta": [
			"string"
		],
		"distinguishedName": "string",
		"externalId": "string"
	},
	"groupType": "ALL_USERS",
	"isDisabled": false,
	"mappedRoles": [
		"string"
	],
	"providerIdentifier": "c1c9f52d-afd1-4561-afbf-2b537b02cad2"
}
string
displayName Optional

Display Name


string
domain Optional

Domain


groupMetadata Optional

string
groupType Optional

Group Type


boolean
isDisabled Optional

array of string
mappedRoles Optional

string
providerIdentifier Optional

Provider ID

Authentication

Authentication

This operation uses the following authentication methods.

Authorization

Scopes: global

Response

Response

Response Body

Response Body

201 Created returns object of type(s) application/json
Errors

Errors

401

Unauthorized


403

Forbidden


404

Not Found


500

Internal Server Error

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"displayName":"ALL USERS","domain":"example.com","groupMetadata":{"additionalMeta":["string"],"distinguishedName":"string","externalId":"string"},"groupType":"ALL_USERS","isDisabled":false,"mappedRoles":["string"],"providerIdentifier":"c1c9f52d-afd1-4561-afbf-2b537b02cad2"}' https://localhost:8080/lcm/authzn/api/v2/groups


[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager
Feedback

Was this page helpful?