Merge "Remove the APIs from doc that is not supported yet"
This commit is contained in:
commit
fcc0eaf4d4
|
@ -309,110 +309,3 @@ Request Parameters
|
|||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- project_id: project_id_path
|
||||
|
||||
|
||||
Enable or disable project and its subtree
|
||||
=========================================
|
||||
|
||||
.. rest_method:: PATCH /v3/projects/{project_id}/cascade
|
||||
|
||||
Relationship: ``http://docs.openstack.org/api/openstack-identity/3/rel/project``
|
||||
|
||||
(Since Identity API v3.7) Enables or disables a project and its entire subtree.
|
||||
|
||||
A project subtree includes all projects beneath the parent project
|
||||
in the hierarchy.
|
||||
|
||||
If you include attributes other than the ``enabled`` attribute,
|
||||
this call fails and returns the ``Bad Request (400)`` response
|
||||
code.
|
||||
|
||||
If you perform this action against a project that acts as a domain
|
||||
(``is_domain`` is set to ``true``), this call fails and returns the
|
||||
``Forbidden (403)`` response code.
|
||||
|
||||
Response Codes
|
||||
--------------
|
||||
|
||||
.. rest_status_code:: success status.yaml
|
||||
|
||||
- 200
|
||||
|
||||
.. rest_status_code:: error status.yaml
|
||||
|
||||
- 400
|
||||
- 401
|
||||
- 403
|
||||
- 404
|
||||
- 409
|
||||
|
||||
Request Parameters
|
||||
------------------
|
||||
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- project_id: project_id_path
|
||||
- project: project
|
||||
- enabled: project_enabled_cascade_request_body
|
||||
|
||||
Request Example
|
||||
---------------
|
||||
|
||||
.. literalinclude:: ./samples/admin/project-enable-request.json
|
||||
:language: javascript
|
||||
|
||||
Response Parameters
|
||||
-------------------
|
||||
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- project: project
|
||||
- is_domain: is_domain_response_body
|
||||
- description: project_description_response_body
|
||||
- domain_id: project_domain_id_response_body
|
||||
- enabled: project_enabled_response_body
|
||||
- id: project_id
|
||||
- name: project_name_response_body
|
||||
- links: link_response_body
|
||||
- parent_id: project_parent_id_response_body
|
||||
|
||||
Response Example
|
||||
----------------
|
||||
|
||||
.. literalinclude:: ./samples/admin/project-update-response.json
|
||||
:language: javascript
|
||||
|
||||
|
||||
Delete project subtree
|
||||
======================
|
||||
|
||||
.. rest_method:: DELETE /v3/projects/{project_id}/cascade
|
||||
|
||||
Relationship: ``http://docs.openstack.org/api/openstack-identity/3/rel/project``
|
||||
|
||||
(Since Identity API v3.7) Deletes a project and its entire subtree.
|
||||
|
||||
A project subtree includes all projects beneath the parent project
|
||||
in the hierarchy. You must disable all the projects in the subtree
|
||||
before you perform this operation.
|
||||
|
||||
Response Codes
|
||||
--------------
|
||||
|
||||
.. rest_status_code:: success status.yaml
|
||||
|
||||
- 204
|
||||
|
||||
.. rest_status_code:: error status.yaml
|
||||
|
||||
- 400
|
||||
- 401
|
||||
- 403
|
||||
- 404
|
||||
|
||||
Request Parameters
|
||||
------------------
|
||||
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- project_id: project_id_path
|
||||
|
|
Loading…
Reference in New Issue