All URIs are relative to https://teamcity.jetbrains.com
Method | HTTP request | Description |
---|---|---|
AddGroup | Post /app/rest/userGroups | Add a new user group. |
AddRoleAtScopeToGroup | Post /app/rest/userGroups/{groupLocator}/roles/{roleId}/{scope} | Add a role with the specific scope to the matching user group. |
AddRoleToGroup | Post /app/rest/userGroups/{groupLocator}/roles | Add a role to the matching user group. |
DeleteGroup | Delete /app/rest/userGroups/{groupLocator} | Delete user group matching the locator. |
GetAllGroups | Get /app/rest/userGroups | Get all user groups. |
GetGroupParentGroups | Get /app/rest/userGroups/{groupLocator}/parent-groups | Get parent groups of the matching user group. |
GetGroupProperties | Get /app/rest/userGroups/{groupLocator}/properties | Get properties of the matching user group. |
GetGroupProperty | Get /app/rest/userGroups/{groupLocator}/properties/{name} | Get a property of the matching user group. |
GetGroupRoleAtScope | Get /app/rest/userGroups/{groupLocator}/roles/{roleId}/{scope} | Get a role with the specific scope of the matching user group. |
GetGroupRoles | Get /app/rest/userGroups/{groupLocator}/roles | Get all roles of the matching user group. |
GetUserGroupOfGroup | Get /app/rest/userGroups/{groupLocator} | Get user group matching the locator. |
RemoveGroupProperty | Delete /app/rest/userGroups/{groupLocator}/properties/{name} | Remove a property of the matching user group. |
RemoveRoleAtScopeFromGroup | Delete /app/rest/userGroups/{groupLocator}/roles/{roleId}/{scope} | Remove a role with the specific scope from the matching user group. |
SetGroupParentGroups | Put /app/rest/userGroups/{groupLocator}/parent-groups | Update parent groups of the matching user group. |
SetGroupProperty | Put /app/rest/userGroups/{groupLocator}/properties/{name} | Update a property of the matching user group. |
SetGroupRoles | Put /app/rest/userGroups/{groupLocator}/roles | Update roles of the matching user group. |
Group AddGroup(ctx, optional) Add a new user group.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *AddGroupOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a AddGroupOpts struct
Name | Type | Description | Notes |
---|---|---|---|
body | optional.Interface of Group | ||
fields | optional.String |
No authorization required
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Role AddRoleAtScopeToGroup(ctx, groupLocator, roleId, scope) Add a role with the specific scope to the matching user group.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
groupLocator | string | ||
roleId | string | ||
scope | string |
No authorization required
- Content-Type: Not defined
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Role AddRoleToGroup(ctx, groupLocator, optional) Add a role to the matching user group.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
groupLocator | string | ||
optional | *AddRoleToGroupOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a AddRoleToGroupOpts struct
Name | Type | Description | Notes |
---|
body | optional.Interface of Role| |
No authorization required
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteGroup(ctx, groupLocator) Delete user group matching the locator.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
groupLocator | string |
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Groups GetAllGroups(ctx, optional) Get all user groups.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *GetAllGroupsOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetAllGroupsOpts struct
Name | Type | Description | Notes |
---|---|---|---|
fields | optional.String |
No authorization required
- Content-Type: Not defined
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Groups GetGroupParentGroups(ctx, groupLocator, optional) Get parent groups of the matching user group.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
groupLocator | string | ||
optional | *GetGroupParentGroupsOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetGroupParentGroupsOpts struct
Name | Type | Description | Notes |
---|
fields | optional.String| |
No authorization required
- Content-Type: Not defined
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Properties GetGroupProperties(ctx, groupLocator, optional) Get properties of the matching user group.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
groupLocator | string | ||
optional | *GetGroupPropertiesOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetGroupPropertiesOpts struct
Name | Type | Description | Notes |
---|
fields | optional.String| |
No authorization required
- Content-Type: Not defined
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string GetGroupProperty(ctx, groupLocator, name) Get a property of the matching user group.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
groupLocator | string | ||
name | string |
string
No authorization required
- Content-Type: Not defined
- Accept: text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Role GetGroupRoleAtScope(ctx, groupLocator, roleId, scope) Get a role with the specific scope of the matching user group.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
groupLocator | string | ||
roleId | string | ||
scope | string |
No authorization required
- Content-Type: Not defined
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Roles GetGroupRoles(ctx, groupLocator) Get all roles of the matching user group.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
groupLocator | string |
No authorization required
- Content-Type: Not defined
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Group GetUserGroupOfGroup(ctx, groupLocator, optional) Get user group matching the locator.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
groupLocator | string | ||
optional | *GetUserGroupOfGroupOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetUserGroupOfGroupOpts struct
Name | Type | Description | Notes |
---|
fields | optional.String| |
No authorization required
- Content-Type: Not defined
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RemoveGroupProperty(ctx, groupLocator, name) Remove a property of the matching user group.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
groupLocator | string | ||
name | string |
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RemoveRoleAtScopeFromGroup(ctx, groupLocator, roleId, scope) Remove a role with the specific scope from the matching user group.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
groupLocator | string | ||
roleId | string | ||
scope | string |
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Groups SetGroupParentGroups(ctx, groupLocator, optional) Update parent groups of the matching user group.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
groupLocator | string | ||
optional | *SetGroupParentGroupsOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a SetGroupParentGroupsOpts struct
Name | Type | Description | Notes |
---|
body | optional.Interface of Groups| | fields | optional.String| |
No authorization required
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string SetGroupProperty(ctx, groupLocator, name, optional) Update a property of the matching user group.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
groupLocator | string | ||
name | string | ||
optional | *SetGroupPropertyOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a SetGroupPropertyOpts struct
Name | Type | Description | Notes |
---|
body | optional.String| |
string
No authorization required
- Content-Type: text/plain
- Accept: text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Roles SetGroupRoles(ctx, groupLocator, optional) Update roles of the matching user group.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
groupLocator | string | ||
optional | *SetGroupRolesOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a SetGroupRolesOpts struct
Name | Type | Description | Notes |
---|
body | optional.Interface of Roles| |
No authorization required
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]