Home
Version 3
ServiceAuthTokens (deprecated) API

ServiceAuthTokens (deprecated) API

Retrieve a Particular Service Auth Token (deprecated)

GET /v2/service_auth_tokens/:guid

Fields

Name Description Default Valid Values Example Values
guid The guid of the service auth token.
label Human readable name for the auth token
  • Nic-Token
provider Human readable name of service provider
  • Face-Offer
token The secret auth token used for authenticating

Parameters

Name Description Valid Values Example Values
guid The guid of the Service Auth Token

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1NCIsImVtYWlsIjoiZW1haWwtMjU3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5Nzl9.I5JUcVi7uQoueBrMsl7d-QoPCwZjf-aA4cq_TN992-I
Host: example.org
Cookie: 

Route

GET /v2/service_auth_tokens/f72d7b7b-bf19-4c26-a2e8-e40150907d15

cURL

curl "https://api.[your-domain.com]/v2/service_auth_tokens/f72d7b7b-bf19-4c26-a2e8-e40150907d15" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1NCIsImVtYWlsIjoiZW1haWwtMjU3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5Nzl9.I5JUcVi7uQoueBrMsl7d-QoPCwZjf-aA4cq_TN992-I" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: b791a16f-517e-42cf-aeed-67fef9b738d3
X-Cf-Warnings: Support+for+the+v1+Service+Broker+API+is+deprecated+and+will+be+removed+in+the+next+major+version+of+Cloud+Foundry.+Consider+upgrading+your+broker+to+implement+the+v2+Service+Broker+API.
Content-Length: 294
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "f72d7b7b-bf19-4c26-a2e8-e40150907d15",
    "url": "/v2/service_auth_tokens/f72d7b7b-bf19-4c26-a2e8-e40150907d15",
    "created_at": "2014-12-24T01:39:39+00:00",
    "updated_at": null
  },
  "entity": {
    "label": "label-61",
    "provider": "provider-61"
  }
}