Skip to content

Commit

Permalink
[DOCS] Deletes unnecessary files and synchs terminology
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl committed Aug 23, 2018
1 parent e7e5d62 commit 8a71e1e
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 32 deletions.
42 changes: 28 additions & 14 deletions x-pack/docs/en/rest-api/security.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,46 +9,60 @@ You can use the following APIs to perform {security} activities.
* <<security-api-has-privileges>>
* <<security-api-ssl>>

include::security/app-privileges.asciidoc[]

[float]
[[security-role-apis]]
=== Roles
[[security-api-app-privileges]]
=== Application privileges

You can use the following APIs to add, remove, and retrieve roles in the native realm:
You can use the following APIs to add, update, retrieve, and remove application
privileges:

* <<security-api-put-role,Create role>>, <<security-api-delete-role,Delete role>>
* <<security-api-clear-role-cache,Clear roles cache>>
* <<security-api-get-role,Get roles>>
* <<security-api-put-privileges,Create or update privileges>>
* <<security-api-delete-privilege,Delete privileges>>
* <<security-api-get-privileges,Get privileges>>

[float]
[[security-role-mapping-apis]]
=== Role mappings

You can use the following APIs to add, remove, and retrieve role mappings:
You can use the following APIs to add, remove, update, and retrieve role mappings:

* <<security-api-put-role-mapping,Add role mappings>>, <<security-api-delete-role-mapping,Delete role mappings>>
* <<security-api-put-role-mapping,Create or update role mappings>>
* <<security-api-delete-role-mapping,Delete role mappings>>
* <<security-api-get-role-mapping,Get role mappings>>

[float]
[[security-role-apis]]
=== Roles

You can use the following APIs to add, remove, update, and retrieve roles in the native realm:

* <<security-api-put-role,Create or update roles>>
* <<security-api-clear-role-cache,Clear roles cache>>
* <<security-api-delete-role,Delete roles>>
* <<security-api-get-role,Get roles>>

[float]
[[security-token-apis]]
=== Tokens

You can use the following APIs to create and invalidate bearer tokens for access
without requiring basic authentication:

* <<security-api-get-token,Get token>>, <<security-api-invalidate-token,Invalidate token>>
* <<security-api-get-token,Get token>>
* <<security-api-invalidate-token,Invalidate token>>

[float]
[[security-user-apis]]
=== Users

You can use the following APIs to create, read, update, and delete users from the
You can use the following APIs to add, remove, update, or retrieve users in the
native realm:

* <<security-api-put-user,Create users>>, <<security-api-delete-user,Delete users>>
* <<security-api-enable-user,Enable users>>, <<security-api-disable-user,Disable users>>
* <<security-api-put-user,Create or update users>>
* <<security-api-change-password,Change passwords>>
* <<security-api-delete-user,Delete users>>
* <<security-api-disable-user,Disable users>>
* <<security-api-enable-user,Enable users>>
* <<security-api-get-user,Get users>>


Expand Down
10 changes: 0 additions & 10 deletions x-pack/docs/en/rest-api/security/app-privileges.asciidoc

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[role="xpack"]
[[security-api-put-role-mapping]]
=== Add role mappings API
=== Create or update role mappings API

Adds and updates role mappings.
Creates and updates role mappings.

==== Request

Expand Down
4 changes: 2 additions & 2 deletions x-pack/docs/en/rest-api/security/create-roles.asciidoc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[role="xpack"]
[[security-api-put-role]]
=== Create roles API
=== Create or update roles API

Adds roles in the native realm.
Adds and updates roles in the native realm.

==== Request

Expand Down
4 changes: 2 additions & 2 deletions x-pack/docs/en/rest-api/security/create-users.asciidoc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[role="xpack"]
[[security-api-put-user]]
=== Create users API
=== Create or update users API

Creates and updates users in the native realm. These users are commonly referred
Adds and updates users in the native realm. These users are commonly referred
to as _native users_.


Expand Down
4 changes: 2 additions & 2 deletions x-pack/docs/en/rest-api/security/put-app-privileges.asciidoc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[role="xpack"]
[[security-api-put-privileges]]
=== Add application privileges API
=== Create or update application privileges API

Creates or updates
Adds or updates
{stack-ov}/security-privileges.html#application-privileges[application privileges].

==== Request
Expand Down
Empty file.

0 comments on commit 8a71e1e

Please sign in to comment.