Skip to content

Retrieve a Server Enrollment Token

Request

Admin roles:
  • access_user
  • access_admin
  • server_enrollment_token_viewer

Retrieves a Server Enrollment Token from a Project

Security
bearerAuth
Path
team_namestringrequired

The name of your Team

project_namestringrequired

The Project name

server_enrollment_token_idstringrequired

The UUID of the Server Enrollment Token

curl -i -X GET \
  'https://app.scaleft.com/v1/teams/{team_name}/projects/{project_name}/server_enrollment_tokens/{server_enrollment_token_id}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
created_by_userstring, [ 1 .. 255 ] charactersread-onlyrequired

The User that created this Server Enrollment Token

descriptionstring, [ 1 .. 512 ] charactersrequired

A human-readable description of the purpose of this Server Enrollment Token

idstring, (regex)^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-...read-onlyrequired

The UUID of a Server Enrollment Token

issued_atstring, (date-time)read-onlyrequired

A timestamp indicating when the Server Enrollment Token was created

tokenobjectread-onlyrequired

A token used to enroll a Server

Response
{ "created_by_user": "string", "description": "string", "id": "/regex/", "issued_at": "2019-08-24T14:15:22Z", "token": { "property1": "string", "property2": "string" } }