curl --request GET \
--url https://staging-api.getpartna.com/v4/user/apikeys \
--header 'x-api-key: <api-key>' \
--header 'x-api-user: <api-key>'
{
"data": {
"Apikeys": [
{
"Apikey": "91179ede",
"DeletedAt": "0001-01-01T00:00:00Z",
"Expirable": true,
"Expiration": 1781105204,
"Keyname": "getonly",
"Username": "chang"
}
]
},
"message": "success"
}
Get user API keys.
curl --request GET \
--url https://staging-api.getpartna.com/v4/user/apikeys \
--header 'x-api-key: <api-key>' \
--header 'x-api-user: <api-key>'
{
"data": {
"Apikeys": [
{
"Apikey": "91179ede",
"DeletedAt": "0001-01-01T00:00:00Z",
"Expirable": true,
"Expiration": 1781105204,
"Keyname": "getonly",
"Username": "chang"
}
]
},
"message": "success"
}
get user apikeys ok
The response is of type object
.