Management API Documentation

Create token

Description

Create a new token.
Note that a token is created automatically when you create a collection. So you don’t need to call this method, until you want several tokens.

Url

Parameters optional

  • collection: resource uri like /v0/collection/UUID/

Example

Create a token for the collection whose UUID is 806e54535ffd464f83545c902e664aca

Request

Response

HTTP Status code: 201 Created

Errors

HTTP Status code: 400 Bad Request

Invalid JSON

Content not in JSON

Invalid collection