Standardize curl examples in doc/api/users.md

refrenced issue #509818

This MR standardizes the curl command examples in the Users API documentation to follow the updated GitLab documentation guidelines.

Changes:

  • Added --request GET to all retrieval examples for explicit and consistent method declaration.
  • Reordered --url to appear before payloads (--data and --form) in POST, PUT, and PATCH requests, following GitLab style conventions.
  • Split bunched --data parameters into individual lines for improved readability and maintenance.
  • Refactored single-line commands into multi-line format with consistent 2-space indentation.
  • Removed trailing backslashes from the final lines of all examples.
  • Fixed a minor syntax error in a Support PIN example.

These changes enhance documentation consistency and reduce horizontal scrolling for users.

Merge request reports

Loading