Update User Api Key
Developing
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Example:{
"name": "Updated API Key Name",
"permissions": ["readOwnProfile", "updateOwnProfile", "readOwnMessages"],
"expirePeriod": 180,
"expireDate": "2025-06-30T23:59:59Z",
"isActive": true
}
Request Code Samples
curl --location --request PUT 'https://integration.returning.aiapis/v1/users/71100af5c548eb5c7ebc7819/api-keys/689b34c3799e47c88fa2f89d' \
--header 'Content-Type: text/plain' \
--data-raw '{
"name": "Updated API Key Name",
"permissions": ["readOwnProfile", "updateOwnProfile", "readOwnMessages"],
"expirePeriod": 180,
"expireDate": "2025-06-30T23:59:59Z",
"isActive": true
}'
Responses
application/json Modified at 2025-08-29 18:35:37