Skip to content

Is there a way to list activation tokens by license ID? #69

Answered by ezekg
taxilian asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, you can filter the tokens by bearer. For example, see the following:

GET /v1/accounts/<account_id>/tokens?bearer[type]=license&bearer[id]=<license_id>

You can also access a license's tokens relationship directly:

GET /v1/accounts/<account_id>/licenses/<license_id>/tokens

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
5 replies
@taxilian
Comment options

@ezekg
Comment options

@taxilian
Comment options

@ezekg
Comment options

@taxilian
Comment options

Answer selected by taxilian
Comment options

You must be logged in to vote
3 replies
@taxilian
Comment options

@ezekg
Comment options

@taxilian
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants