Skip to content

Latest commit

 

History

History
151 lines (94 loc) · 6.45 KB

TokensApiControllerApi.md

File metadata and controls

151 lines (94 loc) · 6.45 KB

{{classname}}

All URIs are relative to /

Method HTTP request Description
create_app_token1 POST users-web/api/v3/apps/{appId}/tokens Create new app token
delete_app_token1 DELETE users-web/api/v3/apps/{appId}/tokens/{tokenId} Delete app token
get_app_tokens1 GET users-web/api/v3/apps/{appId}/tokens Get app available tokens
regenerate_app_token POST users-web/api/v3/apps/{appId}/tokens/{tokenId}/regenerate Regenerate app token)
update_app_token1 PUT users-web/api/v3/apps/{appId}/tokens/{tokenId} Update app token (enable/disable or name)

create_app_token1

TokenResponse create_app_token1(ctx, body, app_id) Create new app token

Required Parameters

Name Type Description Notes
ctx context.Context context containing the authentication nil if no authentication
body CreateTokenDto dto
app_id i64 appId

Return type

TokenResponse

Authorization

api_key,

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

delete_app_token1

GenericMapBasedApiResponse delete_app_token1(ctx, app_id, token_id) Delete app token

Required Parameters

Name Type Description Notes
ctx context.Context context containing the authentication nil if no authentication
app_id i64 appId
token_id i64 tokenId

Return type

[GenericMapBasedApiResponse](Generic Map Based Api Response.md)

Authorization

api_key,

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_app_tokens1

TokensResponse get_app_tokens1(ctx, app_id) Get app available tokens

Required Parameters

Name Type Description Notes
ctx context.Context context containing the authentication nil if no authentication
app_id i64 appId

Return type

TokensResponse

Authorization

api_key,

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

regenerate_app_token

TokenResponse regenerate_app_token(ctx, app_id, token_id) Regenerate app token)

Required Parameters

Name Type Description Notes
ctx context.Context context containing the authentication nil if no authentication
app_id i64 appId
token_id i64 tokenId

Return type

TokenResponse

Authorization

api_key,

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

update_app_token1

TokenResponse update_app_token1(ctx, body, app_id, token_id) Update app token (enable/disable or name)

Required Parameters

Name Type Description Notes
ctx context.Context context containing the authentication nil if no authentication
body UpdateTokenDto dto
app_id i64 appId
token_id i64 tokenId

Return type

TokenResponse

Authorization

api_key,

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]