forked from docs/doc-exports
Reviewed-by: gtema <artem.goncharov@gmail.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
272 lines
22 KiB
HTML
272 lines
22 KiB
HTML
<a name="en-us_topic_0079578166"></a><a name="en-us_topic_0079578166"></a>
|
|
|
|
<h1 class="topictitle1">Querying the List of Permissions of an Agency on a Domain</h1>
|
|
<div id="body1507780947597"><div class="section" id="en-us_topic_0079578166__sd32cbb7d5afd415d8a47d1f36476f58e"><h4 class="sectiontitle">Function</h4><p id="en-us_topic_0079578166__p1652217297147">This API is used to query the list of permissions of an agency on a domain.</p>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0079578166__s8bfb266fc6fd4b4fbcdb7c5b37fec0c3"><h4 class="sectiontitle">URI</h4><ul id="en-us_topic_0079578166__u3c6d72635d3d4f0eba1c1f37af7bb138"><li id="en-us_topic_0079578166__l38310aa7196a490f817e2dc9feea1a35">URI format<p id="en-us_topic_0079578166__afdd76c97ee124e938878c24f54de6623"><a name="en-us_topic_0079578166__l38310aa7196a490f817e2dc9feea1a35"></a><a name="l38310aa7196a490f817e2dc9feea1a35"></a>GET /v3.0/OS-AGENCY/domains/{domain_id}/agencies/{agency_id}/roles</p>
|
|
</li></ul>
|
|
<ul id="en-us_topic_0079578166__u40eefae65744424689f5c81886918671"><li id="en-us_topic_0079578166__lb205bb0fee53403db652442ca93048db">URI parameters
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0079578166__t7d98a5ad17d24daa8e58656f6da291de" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0079578166__r5e7d0413da724067991bb18271aa331f"><th align="left" class="cellrowborder" valign="top" width="18.360000000000003%" id="mcps1.3.2.3.1.1.1.5.1.1"><p id="en-us_topic_0079578166__a3a948e8952044840bfe547d49baa12c7"><strong id="en-us_topic_0079578166__a173ae121cc9e48328ca613e72f2a1504">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.48%" id="mcps1.3.2.3.1.1.1.5.1.2"><p id="en-us_topic_0079578166__a2b1a382248774519929c9fe14900ceed"><strong id="en-us_topic_0079578166__b842352706161940_1">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.33%" id="mcps1.3.2.3.1.1.1.5.1.3"><p id="en-us_topic_0079578166__af253bd8fb6384746a335ac225b05565b"><strong id="en-us_topic_0079578166__b842352706143526_1">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="44.83%" id="mcps1.3.2.3.1.1.1.5.1.4"><p id="en-us_topic_0079578166__af46f0afead2b4f6aac8fa304ec0bc334"><strong id="en-us_topic_0079578166__b20601766145329_1">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0079578166__r8313928b14dc4dcd84b6a9f507104888"><td class="cellrowborder" valign="top" width="18.360000000000003%" headers="mcps1.3.2.3.1.1.1.5.1.1 "><p id="en-us_topic_0079578166__ac8d7ad96322f4179af858eb5c419e8d1">domain_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.48%" headers="mcps1.3.2.3.1.1.1.5.1.2 "><p id="en-us_topic_0079578166__ab6a68ef3a12c48e2ad342c2f352de1f8">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.33%" headers="mcps1.3.2.3.1.1.1.5.1.3 "><p id="en-us_topic_0079578166__a3f7ce8cf115c4393b7931d8fde530e4c">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.83%" headers="mcps1.3.2.3.1.1.1.5.1.4 "><p id="en-us_topic_0079578166__a6aa971030c4748a698bb3b4898cd1305">ID of the current domain.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0079578166__r347ae7b1f64e41c98cee1ab0d52732cd"><td class="cellrowborder" valign="top" width="18.360000000000003%" headers="mcps1.3.2.3.1.1.1.5.1.1 "><p id="en-us_topic_0079578166__a7ea4dd5a3c8448e7b705f201030eec17">agency_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.48%" headers="mcps1.3.2.3.1.1.1.5.1.2 "><p id="en-us_topic_0079578166__afff03be279884bdca910434905df5e21">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.33%" headers="mcps1.3.2.3.1.1.1.5.1.3 "><p id="en-us_topic_0079578166__a237c5e94daba453680ae069a9fba48df">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.83%" headers="mcps1.3.2.3.1.1.1.5.1.4 "><p id="en-us_topic_0079578166__a41754287d487497484900718c4a1be30">ID of an agency.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0079578166__sbe09a08b2e5841ff9f6808a1e714405c"><h4 class="sectiontitle">Request Parameters</h4><ul id="en-us_topic_0079578166__u76128a04a27c48908b5c7a79923a5d24"><li id="en-us_topic_0079578166__l80545ada7e8943b3a5a041802bdce280">Parameters in the request header
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0079578166__t2a3bcde88e2d42b9be2030e06757f78c" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0079578166__re9a6010114a74310bb1c8ec8266d6e97"><th align="left" class="cellrowborder" valign="top" width="19.36%" id="mcps1.3.3.2.1.1.1.5.1.1"><p id="en-us_topic_0079578166__a77a080ef749f42afa95c01469e004592"><strong id="en-us_topic_0079578166__b30308918144432">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.130000000000003%" id="mcps1.3.3.2.1.1.1.5.1.2"><p id="en-us_topic_0079578166__a0caf369b338f4245b688e1aed95bca35"><strong id="en-us_topic_0079578166__b842352706161940_3">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.8%" id="mcps1.3.3.2.1.1.1.5.1.3"><p id="en-us_topic_0079578166__a685b8f9209e240c2a7efd856ec96033d"><strong id="en-us_topic_0079578166__b842352706143526_3">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="44.71%" id="mcps1.3.3.2.1.1.1.5.1.4"><p id="en-us_topic_0079578166__a5d506e9a88e24b1a9a0535e44ae17d8d"><strong id="en-us_topic_0079578166__b20601766145329_3">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0079578166__r972bd6f6b6ee4d63934e1a1d42750953"><td class="cellrowborder" valign="top" width="19.36%" headers="mcps1.3.3.2.1.1.1.5.1.1 "><p id="en-us_topic_0079578166__afd051d13fc314e4ea3c17bfab535e24d">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.130000000000003%" headers="mcps1.3.3.2.1.1.1.5.1.2 "><p id="en-us_topic_0079578166__a098126e39ffc4f5d9d02b96212f20ce1">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.8%" headers="mcps1.3.3.2.1.1.1.5.1.3 "><p id="en-us_topic_0079578166__adff70bd574324ce7b97f9dfe8281ed25">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.71%" headers="mcps1.3.3.2.1.1.1.5.1.4 "><p id="en-us_topic_0079578166__a221113d87e0d47dfa177321872a0e3b0">Fill <strong id="en-us_topic_0079578166__b842352706161331">application/json;charset=utf8</strong> in this field.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0079578166__r0e73be626aee42c8a1a7c3e3fbfad3ed"><td class="cellrowborder" valign="top" width="19.36%" headers="mcps1.3.3.2.1.1.1.5.1.1 "><p id="en-us_topic_0079578166__a79b10806bfd5435e9d72ebb166c35d75">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.130000000000003%" headers="mcps1.3.3.2.1.1.1.5.1.2 "><p id="en-us_topic_0079578166__a587216c2ae9845568e71784bd0a3404a">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.8%" headers="mcps1.3.3.2.1.1.1.5.1.3 "><p id="en-us_topic_0079578166__a07df5795216b4ffd814764eef3c9890c">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.71%" headers="mcps1.3.3.2.1.1.1.5.1.4 "><p id="en-us_topic_0079578166__a9db1120685df461f8c36a450120e7575">Authenticated token with the <strong id="en-us_topic_0079578166__b750798910387">Security Administrator</strong> permission.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="en-us_topic_0079578166__u159bb30b38d9473189cf146ce1446eb0"><li id="en-us_topic_0079578166__l970fba04f15247a0916eaa6bbbaa0215">Example request<pre class="screen" id="en-us_topic_0079578166__s4b408cc7803447efafabd0c3e9c99769"><em id="en-us_topic_0079578166__i27450268112532">curl -i -k -H "X-Auth-Token:$token" -H 'Content-Type:application/json;charset=utf8' -X GET https://</em><em id="en-us_topic_0079578166__i20508912112532">sample.domain.com</em><em id="en-us_topic_0079578166__i45725828112532">/v3<em id="en-us_topic_0079578166__i1191040115510">.0/OS-AGENCY</em>/domains/<em id="en-us_topic_0079578166__i18971459307">b32d99a7778d4fd9aa5bc616c3dc4e5f</em>/agencies/37f90258b820472bbc8a0f4f0bfd720d/roles</em></pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0079578166__s755c4357c5ca4edba2badcd8d4f40c6e"><h4 class="sectiontitle">Response Parameters</h4><ul id="en-us_topic_0079578166__ul313453411610"><li id="en-us_topic_0079578166__li813414341264">Parameters in the response body
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0079578166__table1197403313610" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0079578166__row7135103417619"><th align="left" class="cellrowborder" valign="top" width="19.39%" id="mcps1.3.4.2.1.1.1.5.1.1"><p id="en-us_topic_0079578166__p11351734662"><strong id="en-us_topic_0079578166__b161468144432">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.33%" id="mcps1.3.4.2.1.1.1.5.1.2"><p id="en-us_topic_0079578166__p1513513346616"><strong id="en-us_topic_0079578166__b842352706161940_5">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19.54%" id="mcps1.3.4.2.1.1.1.5.1.3"><p id="en-us_topic_0079578166__p12135183418616"><strong id="en-us_topic_0079578166__b842352706143526_5">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="44.74%" id="mcps1.3.4.2.1.1.1.5.1.4"><p id="en-us_topic_0079578166__p1913510342618"><strong id="en-us_topic_0079578166__b20601766145329_5">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0079578166__row61356341861"><td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="en-us_topic_0079578166__p191354341265">roles</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.33%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="en-us_topic_0079578166__p4135133417619">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.54%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="en-us_topic_0079578166__p18135183419616">Array</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.74%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="en-us_topic_0079578166__p16136734669">List of roles.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="en-us_topic_0079578166__li181366349618">Description for the role format
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0079578166__table179862331160" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0079578166__row013633411613"><th align="left" class="cellrowborder" valign="top" width="19.39%" id="mcps1.3.4.2.2.1.1.5.1.1"><p id="en-us_topic_0079578166__p1713617342614"><strong id="en-us_topic_0079578166__b66528267144432">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.33%" id="mcps1.3.4.2.2.1.1.5.1.2"><p id="en-us_topic_0079578166__p1513683415612"><strong id="en-us_topic_0079578166__b842352706161940_7">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19.67%" id="mcps1.3.4.2.2.1.1.5.1.3"><p id="en-us_topic_0079578166__p13136134667"><strong id="en-us_topic_0079578166__b842352706143526_7">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="44.61%" id="mcps1.3.4.2.2.1.1.5.1.4"><p id="en-us_topic_0079578166__p1513683416619"><strong id="en-us_topic_0079578166__b20601766145329_7">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0079578166__row18563227195"><td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0079578166__p191371534562">catalog</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.33%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0079578166__p5137434764">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.67%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0079578166__p1413711341862">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.61%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0079578166__p8137183413612">Directory where a role locates.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0079578166__row1863711613194"><td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0079578166__p613712349613">display_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.33%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0079578166__p1813715342614">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.67%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0079578166__p51371334867">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.61%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0079578166__p3137634366">Displayed name of a role.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0079578166__row1513613341768"><td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0079578166__p6136123420612">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.33%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0079578166__p181369340612">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.67%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0079578166__p613717348616">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.61%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0079578166__p61371534960">Name of a role.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0079578166__row230514375195"><td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0079578166__p71379346610">policy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.33%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0079578166__p1513763415613">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.67%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0079578166__p19137123416611">Dict</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.61%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0079578166__p613733419619">Policy of a role.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0079578166__row313718341068"><td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0079578166__p18137134467">domain_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.33%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0079578166__p7137534160">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.67%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0079578166__p313743413618">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.61%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0079578166__p513712341267">ID of the domain to which a role belongs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0079578166__row213718343620"><td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0079578166__p81372349620">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.33%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0079578166__p16137103412612">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.67%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0079578166__p1313712341069">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.61%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0079578166__p81371134667">Display mode of a role.</p>
|
|
<ul id="en-us_topic_0079578166__ul39429552115057"><li id="en-us_topic_0079578166__li27932776115057"><strong id="en-us_topic_0079578166__b4067993711303">AX</strong>: A role is displayed at the domain layer.</li><li id="en-us_topic_0079578166__li59747396115057"><strong id="en-us_topic_0079578166__b674061011303">XA</strong>: A role is displayed at the project layer.</li><li id="en-us_topic_0079578166__li43940539115057"><strong id="en-us_topic_0079578166__b911853911303">AA</strong>: A role is displayed at both the domain and project layers.</li><li id="en-us_topic_0079578166__li14904528115057"><strong id="en-us_topic_0079578166__b17466753113117">XX</strong>: A role is not displayed at the domain or project layer.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0079578166__row4137163412617"><td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0079578166__p141368349618">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.33%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0079578166__p1313616343616">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.67%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0079578166__p813643416614">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.61%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0079578166__p19136934663">ID of a role.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0079578166__row113853412618"><td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0079578166__p18138173413613">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.33%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0079578166__p16138134762">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.67%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0079578166__p1313863412612">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.61%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0079578166__p3138734967">Description of a role.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="en-us_topic_0079578166__li121381341063">Example response (successful request)<pre class="screen" id="en-us_topic_0079578166__screen171381234365">{
|
|
"roles": [
|
|
{
|
|
"catalog": "BASE",
|
|
"display_name": "Tenant Guest",
|
|
"name": "readonly",
|
|
"policy": {
|
|
"Version": "1.0",
|
|
"Statement": [
|
|
{
|
|
"Action": [
|
|
"::Get",
|
|
"::List"
|
|
],
|
|
"Effect": "Allow"
|
|
},
|
|
{
|
|
"Action": [
|
|
"identity:*"
|
|
],
|
|
"Effect": "Deny"
|
|
}
|
|
]
|
|
},
|
|
"domain_id": null,
|
|
"type": "AA",
|
|
"id": "b32d99a7778d4fd9aa5bc616c3dc4e5f",
|
|
"description": "Tenant Guest"
|
|
}
|
|
]
|
|
}</pre>
|
|
</li></ul>
|
|
<ul id="en-us_topic_0079578166__ud472617eb5d84d06b5db7931227eea30"><li id="en-us_topic_0079578166__l013a3611efa84a10ab64c16502fd05d6">Example response (request failed)<pre class="screen" id="en-us_topic_0079578166__scb109a0c141f4d448d353c3400f70aa7">{
|
|
"error": {
|
|
"message": "You are not authorized to perform the requested action: identity:list_domain_grants",
|
|
"code": 403,
|
|
"title": "Forbidden"
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0079578166__s61c00aab956c432ba03074959ed97c58"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0079578166__td9cdd0aa9a2048778249267ea06f9361" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0079578166__r3567e198c0744e369984c1f162ec41de"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.2.1.3.1.1"><p id="en-us_topic_0079578166__a30f580137070413ab9f3c2e85a2d3747"><strong id="en-us_topic_0079578166__b59437520144432">Status Code</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.2.1.3.1.2"><p id="en-us_topic_0079578166__aa7e5f4ef91364bf18b5661a24a54f365"><strong id="en-us_topic_0079578166__b20601766145329_9">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0079578166__rf109a271314f4533becfe89639b11125"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0079578166__ae814884cbfa34eb886df4cccf6afab3b">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0079578166__a645dfe888dec4eb2a4f0f99a73f774be">The request is successful.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0079578166__r80e2f92d56104c9d921b35a0d7732cca"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0079578166__a0d1fa62314bf4f6bbd1e8178b7729781">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0079578166__a2a01fc84be644bbb9809f31ff2b584da">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0079578166__r59d0b76d477f40039857ceac885bb2b2"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0079578166__ab5b46fe2535c4d969b3033a979ef32b2">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0079578166__a39f539005cab4265aea430356e5c82c3">Access denied.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0079578166__r37396180afcc486c9db290bb55d645f8"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0079578166__ae59d58ae92af44eaa9dc1656d13d292d">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0079578166__aad60d8a5e4754e139481963b3c283568">The requested resource cannot be found.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0079578166__r7f56ad93b7e34d7e8e6da5a37f433d4b"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0079578166__a7b2f3b7c3e694ef6a598609a1962e87c">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0079578166__a6168166f84cf4f4392a4fb6ae92d152c">Internal server error.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0079467612.html">Agency Management</a></div>
|
|
</div>
|
|
</div>
|
|
|