无法使用API​​创建VSTS安全组 [英] Cannot create VSTS Security Group using API

查看:63
本文介绍了无法使用API​​创建VSTS安全组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用vsts API创建新的项目级安全组.

  • I am attempting to create new project-level security groups using the vsts api.

    • Creating a new group at the collection level works as documented.
    • However, creating a new group at the project level isn't working. When I call the API as documented, I end up with another a group at the collection level.

    How should the create work at the project level? Is there someplace I should be looking for more examples and clarification? Thanks!!

    解决方案

    Please try below REST API to create a project level security group:

    POST https://{accountName}.visualstudio.com/{ProjectName}/_api/_identity/ManageGroup
    
    Content-Type : application/json
    
    {"name":"GroupNamehere","description":"Create a Test Group 0505 ","tfid":""}
    

    这篇关于无法使用API​​创建VSTS安全组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆