{"id":61041,"date":"2021-02-11T10:11:29","date_gmt":"2021-02-11T18:11:29","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/devops\/?p=61041"},"modified":"2021-11-09T09:08:42","modified_gmt":"2021-11-09T17:08:42","slug":"new-personal-access-token-lifecycle-apis-in-private-preview","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/devops\/new-personal-access-token-lifecycle-apis-in-private-preview\/","title":{"rendered":"New Personal Access Token Lifecycle APIs in private preview"},"content":{"rendered":"<p><div class=\"alert alert-info\"><strong>Update (April 16, 2021)<\/strong>: The Personal Access Token Lifecycle API is now publicly available. See our <a href=\"https:\/\/devblogs.microsoft.com\/devops\/personal-access-token-lifecycle-apis-now-publicly-available\/\" rel=\"noopener\" target=\"_blank\">updated blog post<\/a>!<\/div><\/p>\n<p>We\u2019re happy to announce the release of our new APIs to manage the lifecycle of Personal Access Tokens (PATs) on Azure DevOps. This rich set of APIs enable your team with the ability to better manage the PATs they own, offering them new functionality, such as creating new personal access tokens with a desired scope and duration, renewing existing personal access tokens, or expiring existing personal access tokens.<\/p>\n<p>Today, the main way for you to manage their PAT tokens is through the UI or by using a limited set of APIs intended only for Project Collection Administrators. This new API unlocks the ability for organizations to set up automation involving PAT tokens, including setting up build pipelines or interacting with work items.<\/p>\n<p>With this, regular maintenance and rotation of PAT tokens will be much simpler. We know this has been a major challenge for your teams and we\u2019re so excited to help alleviate some of that overload with this new API!<\/p>\n<h3>What new abilities are included with this API?<\/h3>\n<ul>\n<li>Create a Personal Access Token (PAT)<\/li>\n<li>List the metadata of a given PAT<\/li>\n<li>List the metadata of all PATs for a given user<\/li>\n<li>Revoke a given PAT<\/li>\n<li>Update metadata of a given PAT<\/li>\n<\/ul>\n<h3>Sounds great! How can I sign up?<\/h3>\n<p><div class=\"alert alert-info\"><strong>Update (April 16, 2021)<\/strong>: The Personal Access Token Lifecycle API is now publicly available. See our <a href=\"https:\/\/devblogs.microsoft.com\/devops\/personal-access-token-lifecycle-apis-now-publicly-available\/\" rel=\"noopener\" target=\"_blank\">updated blog post<\/a>!<\/div><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We\u2019re happy to announce the release of our new APIs to manage the lifecycle of Personal Access Tokens (PATs) on Azure DevOps, which allow your team to manage PATs they own, offering them new functionality, such as creating new PATs with a desired scope and duration, renewing existing PATs, or expiring existing PATs.<\/p>\n","protected":false},"author":43580,"featured_media":61047,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-61041","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops"],"acf":[],"blog_post_summary":"<p>We\u2019re happy to announce the release of our new APIs to manage the lifecycle of Personal Access Tokens (PATs) on Azure DevOps, which allow your team to manage PATs they own, offering them new functionality, such as creating new PATs with a desired scope and duration, renewing existing PATs, or expiring existing PATs.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/61041","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/users\/43580"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/comments?post=61041"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/61041\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media\/61047"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media?parent=61041"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/categories?post=61041"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/tags?post=61041"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}