Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for tokens/pats API methods #138

Open
hickford opened this issue Aug 3, 2023 · 2 comments
Open

Support for tokens/pats API methods #138

hickford opened this issue Aug 3, 2023 · 2 comments

Comments

@hickford
Copy link

hickford commented Aug 3, 2023

Hi. Are you planning to add support for the tokens/pats methods?

In particular "Pats - Create" https://learn.microsoft.com/en-us/rest/api/azure/devops/tokens/pats/create?view=azure-devops-rest-7.1&tabs=HTTP

Creates a new personal access token (PAT) for the requesting user.

POST https://vssps.dev.azure.com/{organization}/_apis/tokens/pats?api-version=7.1-preview.1

@cparkins
Copy link

I have some code that is almost ready to test, should have a PR ready in the next few days.

cparkins pushed a commit to cparkins/azure-devops-go-api that referenced this issue Aug 14, 2024
… Personal Access Tokens made available in API v7.2-preview1.
@cparkins
Copy link

@hickford - I have tested that this code should work as expected from an integration standpoint but am unable to test against an instance of Azure Devops yet due to not having these endpoints allowed on any of our Organizations. I have submitted a ticket to Microsoft but haven't been able to resolve the issues yet. Are you able to test and verify that the changes are fully functional? I will also submit a PR for the Azure DevOps Terraform Provider which will require more work to be ready.

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

No branches or pull requests

2 participants