Skip to content

Commit

Permalink
More accurate explanation in api-ref:application credentials
Browse files Browse the repository at this point in the history
Change-Id: Ic64dc266b60ad478c57d906c7ca923b66d0787cf
  • Loading branch information
zlyqqq committed Aug 9, 2018
1 parent 0997553 commit 1ff80e2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions api-ref/source/v3/application-credentials.inc
Expand Up @@ -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``

Expand Down
7 changes: 4 additions & 3 deletions api-ref/source/v3/parameters.yaml
Expand Up @@ -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
Expand Down

0 comments on commit 1ff80e2

Please sign in to comment.