Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt

Generates a unique new token string for an entity/account, which may subsequently be used as a temporary entity authentication tokengeneric access token for a limit time.


Endpoint ID:
2010
6100
Method:
Status
colourGreen
titleGET
URL:

/

entity/id/{entity-id}/token/{token-key}

/entity/ext-key/{ext-key}/{ext-type}/token/{token-key}

entity-id

Rubiq entity ID that uniquely identifies an account to verify

ext-key

External key that uniquely identifies an account to verify

ext-type

Type of external key

token-keyA key to associate this token with, e.g. "embedding", "data-export", 

access/token/generate

Request body:

None


Span
stylewhite-space:pre

Response body:



Code Block
{
   "token": "47ecfb84-5ffa-42d5-b8a2-25e8127b53cf",
   "expires": "2022-12-21T06:53:19"
}


Status codes:200

A token was successfully generated

404

The entity was not found

The following sub codes may be returned:

404.1Entity not found404.2External entity could not be found