Operations Management/Tenant Management (Plus)/SSO Operations
POSTSSO OperationsSince 4.5.0SynchronousAuth Required
CreateCasClient
CreateCasClient
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
nameStringRequiredThe resource name.
descriptionStringOptional. The detailed description of the resource.
casServerLoginUrlStringRequiredcasServerLoginUrl.
casServerUrlPrefixStringRequiredcasServerUrlPrefix.
serverNameStringRequiredThe mn address (http://{mn_ip:port}/8080).
Responses
Endpoint
POST/zstack/v1/create/cas/client
/zstack/v1/create/cas/client
Request Example
curl -X POST 'http://{host}/zstack/v1/create/cas/client' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"name":"<name>","description":"<description>","casServerLoginUrl":"<casServerLoginUrl>","casServerUrlPrefix":"<casServerUrlPrefix>","serverName":"<serverName>","loginType":"<loginType>","urlTemplate":"<urlTemplate>","resourceUuid":"<resourceUuid>","tagUuids":["<tagUuids>"],"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "casServerUrlPrefix": "http://zstack.com", "serverName": "http://127.0.0.1", "state": "Enabled", "uuid": "6bc5a073efd73d6d861d348694abcc91", "loginMNUrl": "http://127.0.0.1:8080/zstack/sso/cas/" } }Change History
This API has no change history records yet.
