• About
    • For Developers
    • Authentication
    • Pagination
    • Versioning
    • Rate Limits
    • Errors
  • API Reference
    • Getting started
    • Changelog
  • Guides
    • Webhooks
    • Restricted messages on a timeline
    • Object customization
    • Custom objects
  • SDKs
    • Push notifications for mobile
  • Snap-in development
    • Concepts
    • Development best practices
    • Locally testing snap-ins
    • Handling errors and retrying
    • Debugging
    • Quotas and limits
    • Upgrade snap-ins
    • Code Samples
    • Marketplace listings
  • AirSync
    • Getting started
    • Examples of snap-ins
    • Deploy to organization
    • Publish to the marketplace
    • MCP integration
    • Common issues
    • Supported DevRev object types
LogoLogo
API Referenceauth-tokens

Update Auth Token

POST
https://api.devrev.ai/auth-tokens.update
POST
/auth-tokens.update
1curl -X POST https://api.devrev.ai/auth-tokens.update \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "token_hint": "string",
6 "token_id": "string"
7}'
Try it
1{
2 "token": {
3 "id": "string",
4 "client_id": "string",
5 "created_by": {
6 "display_id": "string",
7 "id": "string",
8 "display_name": "string",
9 "display_picture": {
10 "display_id": "string",
11 "id": "string",
12 "file": {
13 "type": "string",
14 "name": "string",
15 "size": 1
16 }
17 },
18 "email": "string",
19 "full_name": "string",
20 "state": "active"
21 },
22 "created_date": "2023-01-01T12:00:00.000Z",
23 "display_id": "string",
24 "expires_at": "2023-01-01T12:00:00.000Z",
25 "issued_at": "2023-01-01T12:00:00.000Z",
26 "modified_by": {
27 "display_id": "string",
28 "id": "string",
29 "display_name": "string",
30 "display_picture": {
31 "display_id": "string",
32 "id": "string",
33 "file": {
34 "type": "string",
35 "name": "string",
36 "size": 1
37 }
38 },
39 "email": "string",
40 "full_name": "string",
41 "state": "active"
42 },
43 "modified_date": "2023-01-01T12:00:00.000Z",
44 "requested_token_type": "urn:devrev:params:oauth:token-type:aat",
45 "scopes": [
46 "string"
47 ],
48 "status": "active",
49 "subject": "string",
50 "token_hint": "string"
51 }
52}
Updates token metadata of a token issued under a given Dev organization.
Was this page helpful?
Previous

Product builders and service providers

Next
Built with
Product builders and service providers
Updates token metadata of a token issued under a given Dev organization.

Authentication

AuthorizationBearer
Bearer authentication of the form `Bearer <token>`, where token is your auth token.

Request

This endpoint expects an object.
token_hintstringRequiredformat: "text"
A hint that identifies the token.
token_idstringRequiredformat: "id"
The unique identifier of the token under a given Dev organization.

Response

Response for the request to update the token metadata.
tokenobject

Errors

Response for the request to update the token metadata.

Bearer authentication of the form Bearer <token>, where token is your auth token.