Access Token
Last updated
Last updated
If you enabled your authentication on your project you have to test your API endpoints by send authentication token to each request. We prepared token input in top of API playground as you can see below:
By built-in user generated API's you can get your token or manage your access tokens easily. Here are whole access token endpoint available in user model built-in endpoints Quick reference
URI Pattern
HTTP Verb
Default Permission
Description
Arguments
/accessTokens
POST
Allow
Add access token instance and persist to data source.
JSON object (in request body)
/accessTokens
GET
Deny
Find instances of accessTokens that match specified filter.
One or more filters in query parameters:whereincludeorderlimitskip / offsetfields
/accessTokens
PUT
Deny
Update / insert access token instance and persist to data source.
JSON object (in request body)
/accessTokens/
id
GET
Deny
Find access token by ID: Return data for the specified access token instance ID.
id, the access token instance ID (in URI path)
/accessTokens/
id
PUT
Deny
Update attributes for specified access token ID and persist.
Query parameters:data - An object containing property name/value pairsid - The model id
/accessTokens/
id
DELETE
Deny
Delete access token with specified instance ID.
id, access token ID (in URI path)
/accessTokens/
id
/exists
GET
Deny
Check instance existence: Return true if specified access token ID exists.
URI path:id - Model instance ID
/accessTokens/count
GET
Deny
Return the number of access token instances that matches specified where clause.
Where filter specified in query parameter
/accessTokens/findOne
GET
Deny
Find first access token instance that matches specified filter.
Same as Find matching instances.