Update Group By Id V2 Using PATCH

Update Group By Id V2 Using PATCH

This API is used to update group role(s) by vmid.

Request
URI
PATCH
https://{api_host}/lcm/authzn/api/v2/groups/{vmid}
COPY
Path Parameters
string
vmid
Required

vmid


Request Body

groupRequestDTO

GroupRequestDTO of type(s) application/json
Optional
{
    "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"
}
Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns GroupDTO of type(s) application/json
"GroupDTO Object"
string
displayName
Optional

Display Name

string
domain
Optional

Domain

object
groupMetadata
Optional

groupMetadata

string
groupType
Optional

Group Type

boolean
isDisabled
Optional

isDisabled

string
providerIdentifier
Optional

Provider ID

array of object
roleMappings
Optional

roleMappings

string
vmid
Optional

Group ID


204

No Content

Operation doesn't return any data structure

400

Bad Request

Returns GenericErrorResponseDTO of type(s) application/json
"GenericErrorResponseDTO Object"
string
errorCode
Optional

errorCode

string
errorLabel
Optional

errorLabel

string
message
Optional

message

array of string
recommendations
Optional

recommendations


401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

404

Not Found

Returns GenericErrorResponseDTO of type(s) application/json
"GenericErrorResponseDTO Object"
string
errorCode
Optional

errorCode

string
errorLabel
Optional

errorLabel

string
message
Optional

message

array of string
recommendations
Optional

recommendations


500

Internal Server Error

Returns GenericErrorResponseDTO of type(s) application/json
"GenericErrorResponseDTO Object"
string
errorCode
Optional

errorCode

string
errorLabel
Optional

errorLabel

string
message
Optional

message

array of string
recommendations
Optional

recommendations


Code Samples
COPY
                    curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}'