Cisco Cisco Identity Services Engine 1.3 Folheto
7-6
思科身份服务引擎 API 参考指南,版本 1.4
OL-26134-01
第 7 章 外部 RESTful 服务 API 操作
适用于内部用户的外部 RESTful 服务 API
<lastName>Doe</lastName>
<password>12345</password>
</ns3:internaluser>
}
创建内部用户 API 的响应示例
HTTP/1.1 201 OK (see the location header for the new user’s ID)
Date: Thu, 12 Jul 2012 23:59:59 GMT
Content-Type: application/vnd.com.cisco.ise.identity.internaluser.1.0+xml
Location: https://<ISE-ADMIN-NODE>/ers/config/internaluser/444
更新内部用户
您可以使用此 API 调用更新 Cisco ISE 中的内部用户。如果在使用外部 RESTful 服务 API 更新内
部时不更改密码,您必须将密码设置为“********”。下表列出此 API 调用的主要特征:
部时不更改密码,您必须将密码设置为“********”。下表列出此 API 调用的主要特征:
更新内部用户 API 的请求示例
PUT https://<ISE-ADMIN-NODE>:9060/ers/config/internaluser/333
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type: application/vnd.com.cisco.ise.identity.internaluser.1.0+xml
{
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns3:internaluser description="description" name="name" id="333"
xmlns:ns2="ers.ise.cisco.com" xmlns:ns3="identity.ers.ise.cisco.com">
<changePassword>true</changePassword>
<customAttributes>
<entry>
<key>key2</key>
<value>value3</value>
</entry>
<entry>
<key>key1</key>
<value>value1</value>
</entry>
</customAttributes>
<email>email@example.com</email>
<enabled>true</enabled>
<firstName>John</firstName>
<identityGroups>IdentityGroups</identityGroups>
<lastName>Doe</lastName>
表
7-6
更新内部用户
API
调用的主要特征
说明
更新指定的内部用户
摘要
PUT /ers/config/internaluser/{id}
请求头
Accept、Authorization、Host
查询字符串
N/A
请求消息正文
内部用户
响应头
Content-Length、Content-Type
响应消息正文
更新字段的列表
响应状态
200、400、401、403、404、415、429、500