Change administrator

post/cas/administrators
Internal-Use Only

Change information about an administrator.

Request Samples

1

Response Samples

1{
2 "objectExample": {
3 "$ref": "#/components/examples/APIResult"
4 }
5}

Query Parameters

NameTypeRequiredDescription
adminType
string
false

New administrator type for user.

Allowed values:
casdata
itemName
string
false

Item name for administrator to change. Item name is returned when listing adminstrators.

nameType
string
false

Name type.

Allowed values:
usergroup
adminName
string
true

Administrator to change.

Request Body

NameTypeRequiredDescription
adminName
string
true

The name for the administrator.

itemName
string
false

Item name for administrator to change. Item name is returned when listing adminstrators.

nameType
string
true

Indicates if the name identifies a user or group.

Allowed values:
usergroup
adminType
string
true

The type of administrator being added.

Allowed values:
casdata

Responses

StatusMeaningDescription
200OKOKSchema
400Bad RequestBad Request
404Not FoundThe specified administrator does not exist.Schema