Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


 Description

URI

http://host_name/uc/resources/user/token

HTTP Method

DELETE

Description

Delete the personal access token(s)

Example URI

http://localhost:9090/uc/resources/user/token?tokenname=test1&username=abc

http://localhost:9090/uc/resources/user/token?tokenname=test1&userid=1234567

Authentication

HTTP Basic

Produces Content-Type


Consumes Content-Type


Example Responses

  • Status 200

    • Personal access token revoked successfully.

  • Status 400

    • Error message.

  • Status 403

    • Operation prohibited due to security constraints.

  • Status 404

    • A user with name “{name}” does not exist.

    • A user with id "{uuid}" does not exist.

  • Status 500

    • Unexpected request failure. See log(s) for more details.

...