All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
AssignRoleToGroup | Post /1.9/roles/{role_name}/group | |
AssignRoleToToken | Post /1.6/roles/{role_name}/token | |
CreateRole | Post /1.0/roles | |
DefaultRoleAdd | Post /1.0/role/default | |
DeleteRole | Delete /1.0/roles/{role_name} | |
DissociateRole | Delete /1.0/roles/{role_name}/user/{email} | |
DissociateRoleFromGroup | Delete /1.6/roles/{role_name}/group/{group_name} | |
DissociateRoleFromToken | Delete /1.6/roles/{role_name}/token/{token_id} | |
PermissionAdd | Post /1.0/roles/{role_name}/permissions | |
RemovePermission | Delete /1.0/roles{role_name}/permissions/{permission} | |
RoleAssign | Post /1,0/roles/{role_name}/user | |
RoleDefaultDelete | Delete /1.0/role/default | |
TeamTokenCreate | Post /1.6/tokens | |
TeamTokenDelete | Delete /1.6/tokens/{token_id} | |
TeamTokenInfo | Get /1.7/tokens/{token_id} | |
TeamTokenUpdate | Put /1.6/tokens/{token_id} | |
TeamTokensList | Get /1.6/tokens | |
UpdateRole | Put /1.0/roles |
AssignRoleToGroup(ctx, roleName, assignGroupArgs)
Assigns a role to a group.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
roleName | string | ||
assignGroupArgs | AssignGroupArgs |
(empty response body)
- Content-Type: application/json
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AssignRoleToToken(ctx, roleName, assignTokenArgs)
Assigns a role to a team token.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
roleName | string | ||
assignTokenArgs | AssignTokenArgs |
(empty response body)
- Content-Type: application/json
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CreateRole(ctx, roleAddData)
create a role
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
roleAddData | RoleAddData |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DefaultRoleAdd(ctx, roleDefaultData)
add a default role
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
roleDefaultData | RoleDefaultData |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteRole(ctx, roleName)
delete a role
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
roleName | string |
(empty response body)
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DissociateRole(ctx, roleName, email)
Dissociate a role from user
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
roleName | string | ||
string |
(empty response body)
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DissociateRoleFromGroup(ctx, roleName, groupName, context)
Dissociates a role from a group.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
roleName | string | ||
groupName | string | ||
context | string |
(empty response body)
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DissociateRoleFromToken(ctx, roleName, tokenId, context)
Dissociates a role from a team token.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
roleName | string | ||
tokenId | string | ||
context | string |
(empty response body)
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PermissionAdd(ctx, roleName, permissionData)
add a permission
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
roleName | string | ||
permissionData | PermissionData |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RemovePermission(ctx, roleName, permission)
remove a permission
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
roleName | string | ||
permission | string |
(empty response body)
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RoleAssign(ctx, roleName, roleAssignData)
assign a role
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
roleName | string | ||
roleAssignData | RoleAssignData |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RoleDefaultDelete(ctx, )
Delete a Default role
This endpoint does not need any parameter.
(empty response body)
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TeamToken TeamTokenCreate(ctx, teamTokenCreateArgs)
Creates a team token.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
teamTokenCreateArgs | TeamTokenCreateArgs |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TeamTokenDelete(ctx, tokenId)
Deletes a team token.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
tokenId | string | Token ID. |
(empty response body)
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TeamToken TeamTokenInfo(ctx, tokenId)
Shows information about a specific token.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
tokenId | string | Token ID. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TeamToken TeamTokenUpdate(ctx, tokenId, teamTokenUpdateArgs)
Updates a team token.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
tokenId | string | Token ID. | |
teamTokenUpdateArgs | TeamTokenUpdateArgs |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]TeamToken TeamTokensList(ctx, )
List team tokens.
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UpdateRole(ctx, roleUpdateData)
update a role
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
roleUpdateData | RoleUpdateData |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]