Skip to content

Commit

Permalink
Maintenance: Fix token creation documentation
Browse files Browse the repository at this point in the history
Co-authored-by: mvngne <66012344+mvngne@users.noreply.github.com>
  • Loading branch information
ralf401 and mvngne committed Jan 10, 2024
1 parent fa6826f commit 7b767a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/user-access-token.rst
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ Required permission: ``user_preferences.access_token``
.. code-block:: json
{
"label": "My amazing test",
"name": "My amazing test",
"permission": ["cti.agent","ticket.agent"],
"expires_at": "2021-12-21"
}
Expand All @@ -925,12 +925,12 @@ Response:
# HTTP-Code 200 Ok
{
"name": "M4oXJgB_8WiMNWzSdrDv3K3YXJywDh52BqC7IKV-NnM_Cf_bd_SkS6zyIWNZKJXw"
"token": "M4oXJgB_8WiMNWzSdrDv3K3YXJywDh52BqC7IKV-NnM_Cf_bd_SkS6zyIWNZKJXw"
}
.. note::

Above returned ``name`` is the API token. This value is provided once after
Above returned ``token`` is the API token. This value is provided once after
creation and can't be retrieved after.

Delete
Expand Down

0 comments on commit 7b767a1

Please sign in to comment.