Generate API Keys
API URL
{{url}}/fhir-user-service/api-key-managers/generate
Method
POST
Request Headers
Authorization : Bearer [token]
Description
Generates a new API key for a specific user
Input
Field Name
Type
Example
Authorization(Header)
String
Authorized token from login response
userId
Long
2
Sample Input:
{
"id": 1
}
Sample Output:
{
"message": "API key manager created successfully.",
"entity": {
accessKeyId: "K5rbzpch9JJku88lf4wNgSktoJGF4A7zd2QjHPV0w9RlF1JFgKSC4dcsr3+Val3Z0xHRsk9CmhwzI0iO"
secretAccessKey: "SBJRfD4MXP/DmnkTLXnjJbn2yXNLqxt8iSbzfjbDuasB8hMv2/FdDO+DmgwkbXrAGZhGnnJOJyvqBBUUtPQJBdW0ARH78NC/o9dHVXNpjUrYAZq4OpH/3aKYCQd3hZgafQ2hRHODG5vqanVlgz533erFu/IhjBeK"
},
"status": true,
"entityList": null,
"responseCode": 200,
"totalCount": null
}
Last updated