Cas

Change administrator

Change information about an administrator.

post/cas/administrators

Request

  • Base URL: http://mock-cas.apifirst.unx.sas.com/cas
  • URL: http://mock-cas.apifirst.unx.sas.com/cas/cas/administrators
  • Auth: one of:
    • HTTP basic
    • OAuth 2 (implicit, authorization URL https://site-specific-url)

Query parameters

adminNamestring required

Administrator to change.

itemNamestring

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

nameType'user' | 'group'

Name type.

adminType'cas' | 'data'

New administrator type for user.

Request body

adminNamestring required

The name for the administrator.

itemNamestring

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

nameType'user' | 'group' required

Indicates if the name identifies a user or group.

adminType'cas' | 'data' required

The type of administrator being added.

Response

OK

resultstring

The result of the call. "Success" indicates that the call was successful. Other values are a description of the failure.

Example response

{
  "result": "Success"
}

Changes

No recorded changes to this operation across all 1 revision of this API.