More accurate explanation in api-ref:application credentials

Change-Id: Ic64dc266b60ad478c57d906c7ca923b66d0787cf
This commit is contained in:
zlyqqq 2018-08-06 19:47:17 +08:00 committed by zhengliuyang
parent 09975532c0
commit 1ff80e22ef
2 changed files with 6 additions and 5 deletions

View File

@ -98,8 +98,8 @@ Create application credential
.. rest_method:: POST /v3/users/{user_id}/application_credentials
Creates an application credential for a user on the project to which they are
currently scoped.
Creates an application credential for a user on the project to which the
current token is scoped.
Relationship: ``https://docs.openstack.org/api/openstack-identity/3/rel/application_credentials``

View File

@ -1531,9 +1531,10 @@ request_application_credential_name_body_required:
type: string
request_application_credential_roles_body_not_required:
description: |
An optional list of role objects, identified by ID or name. If not
provided, the roles assigned to the application credential will be the
same as the roles in the current token.
An optional list of role objects, identified by ID or name. The list
may only contain roles that the user has assigned on the project.
If not provided, the roles assigned to the application credential will
be the same as the roles in the current token.
in: body
required: false
type: array