Versions Compared

Key

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

Configuration Management Toolkit Cloud now supports GraphQL. You can send requests using Postman, but first, you need to obtain an API token. You can access the API Tokens page from the admin section. (Apps → Manage your apps → Configuration Management Toolkit (Sidebar) → API Tokens).

image-20241114-063814.pngImage Added

Info

"API tokens now include a createdBy field to ensure only authorized users can access all projects; tokens without this field are invalidated."

Your API tokens are listed here. You can create, view, or revoke individual or all API tokens. If you want to utilize GraphQL support, you must first create an API token.

...

After clicking the 'Create API Token' button, you should enter a label for the API token. Then, click the 'Create' button.

...

After the API token is created, a dialog will display the hidden API token. You can reveal it by clicking the eye button. It's important to copy the token at this point because you won't be able to access it again. Click the copy button to copy the token.

request.pngImage Added

After copying your API token, you can send requests via Postman or similar tools. Your URL should be the web trigger URL, which you can obtain from ‘API Tokens’ page. Remember to set the Authorization header with the copied API token.

Also, you can set your token as a “Bearer Token”.

...

Every time the token is used, the 'last accessed' field will be updated. You can check this from the API Tokens page.