curl --request PUT \
--url https://api.wirespeed.com/users/api-keys \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"role": "ADMIN",
"expirationDays": 123
}'
{
"id": "<string>",
"teamId": "<string>",
"userId": "<string>",
"expiration": "<string>",
"lastUsed": "<string>",
"role": "ADMIN",
"name": "<string>",
"createdAt": "<string>",
"token": "<string>"
}
curl --request PUT \
--url https://api.wirespeed.com/users/api-keys \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"role": "ADMIN",
"expirationDays": 123
}'
{
"id": "<string>",
"teamId": "<string>",
"userId": "<string>",
"expiration": "<string>",
"lastUsed": "<string>",
"role": "ADMIN",
"name": "<string>",
"createdAt": "<string>",
"token": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The response is of type object
.