Skip to content

Latest commit

 

History

History
130 lines (82 loc) · 4.6 KB

ServiceTokensApi.md

File metadata and controls

130 lines (82 loc) · 4.6 KB

{{classname}}

All URIs are relative to https://api.equinix.com

Method HTTP request Description
CreateServiceToken Post /fabric/v4/serviceTokens Create Service Token
DeleteServiceTokenByUuid Delete /fabric/v4/serviceTokens/{serviceTokenId} Delete Token by uuid
GetServiceTokenByUuid Get /fabric/v4/serviceTokens/{serviceTokenId} Get Token by uuid
GetServiceTokens Get /fabric/v4/serviceTokens Get All Tokens

CreateServiceToken

ServiceToken CreateServiceToken(ctx, body) Create Service Token

Create Service Tokens generates Equinix Fabric? service tokens. These tokens authorize users to access protected resources and services.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
body ServiceToken

Return type

ServiceToken

Authorization

BearerAuth

HTTP request headers

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

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

DeleteServiceTokenByUuid

DeleteServiceTokenByUuid(ctx, serviceTokenId) Delete Token by uuid

Delete Service Tokens removes an Equinix Fabric service token corresponding to the specified uuid which are in INACTIVE state.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
serviceTokenId string Service Token UUID

Return type

(empty response body)

Authorization

BearerAuth

HTTP request headers

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

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

GetServiceTokenByUuid

ServiceToken GetServiceTokenByUuid(ctx, serviceTokenId) Get Token by uuid

Get Specified Service Tokens uses the uuid of an Equinix Fabric service token to return details about the token's type, state, location, bandwidth, and other key properties.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
serviceTokenId string Service Token UUID

Return type

ServiceToken

Authorization

BearerAuth

HTTP request headers

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

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

GetServiceTokens

ServiceTokens GetServiceTokens(ctx, optional) Get All Tokens

Get All Service Tokens creates a list of all Equinix Fabric service tokens associated with the subscriber's account.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *ServiceTokensApiGetServiceTokensOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a ServiceTokensApiGetServiceTokensOpts struct

Name Type Description Notes
offset optional.Float64 offset
limit optional.Float64 number of records to fetch

Return type

ServiceTokens

Authorization

BearerAuth

HTTP request headers

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

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