Skip to content

Add api token endpoints#107

Open
IgorDobryn wants to merge 7 commits intoMT-21830-account-management-apifrom
MT-21830-api-token-endpoints
Open

Add api token endpoints#107
IgorDobryn wants to merge 7 commits intoMT-21830-account-management-apifrom
MT-21830-api-token-endpoints

Conversation

@IgorDobryn
Copy link
Copy Markdown
Contributor

@IgorDobryn IgorDobryn commented Apr 29, 2026

Motivation

Changes

  • POST /api/accounts/{account_id}/api_tokens
  • GET /api/accounts/{account_id}/api_tokens/{id}
  • DELETE /api/accounts/{account_id}/api_tokens/{id}
  • POST /api/accounts/{account_id}/api_tokens/{id}/reset
  • GET /api/accounts/{account_id}/permissions/resources

body:
encoding: ASCII-8BIT
string: '{"resources":[{"resource_type":"account","resource_id":1719941,"access_level":100}],"id":2498713,"name":"Ruby
SDK Test Token","last_4_digits":"dcf7","created_by":"SDK Dev Account Token","expires_at":null,"token":"d5335b07610bd99b7fbc03f80e26dcf7"}'
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the token does not exist in real app already

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 29, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: af288aeb-d90c-4c39-9ee2-c23017cd93f6

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch MT-21830-api-token-endpoints

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@IgorDobryn IgorDobryn requested review from DagonWat and i7an April 29, 2026 14:39
@IgorDobryn IgorDobryn marked this pull request as ready for review April 29, 2026 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant