User Tokens¶
-
class
terrasnek.user_tokens.TFCUserTokens(instance_url, org_name, headers, well_known_paths, verify, log_level)¶ -
-
create(user_id, payload)¶ POST /users/:user_id/authentication-tokensUser Tokens Create API Doc Reference
NOTE: the following method descriptor is here for the
api_comparison.pyscript to pass, since it uses a different prefix than the majority of endpoints.POST /api/v2/users/:user_id/authentication-tokens
-
destroy(token_id)¶ DELETE /authentication-tokens/:idUser Tokens Destroy API Doc Reference
NOTE: the following method descriptor is here for the
api_comparison.pyscript to pass, since it uses a different prefix than the majority of endpoints.DELETE /api/v2/authentication-tokens/:id
-
list(user_id)¶ GET /users/:user_id/authentication-tokensUser Tokens List API Doc Reference
NOTE: the following method descriptor is here for the
api_comparison.pyscript to pass, since it uses a different prefix than the majority of endpoints.GET /api/v2/users/:user_id/authentication-tokens
-
required_entitlements()¶ Terraform Cloud Entitlements required for endpoint to work.
-
show(token_id)¶ GET /authentication-tokens/:idUser Tokens Show API Doc Reference
NOTE: the following method descriptor is here for the
api_comparison.pyscript to pass, since it uses a different prefix than the majority of endpoints.GET /api/v2/authentication-tokens/:id
-