Public
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}'
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": 116 }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": 137 }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}
format: "text"
format: "id"
Bearer authentication of the form Bearer <token>, where token is your auth token.
Bearer <token>