curl --request POST \
--url https://api.getcargo.io/v1/workspaceManagement/tokens \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"fromUser": true
}
'{
"token": {
"uuid": "<string>",
"token": "<string>",
"workspaceUuid": "<string>",
"userUuid": "<string>",
"createdAt": "<string>",
"deletedAt": "<string>"
}
}Create a new API token
curl --request POST \
--url https://api.getcargo.io/v1/workspaceManagement/tokens \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"fromUser": true
}
'{
"token": {
"uuid": "<string>",
"token": "<string>",
"workspaceUuid": "<string>",
"userUuid": "<string>",
"createdAt": "<string>",
"deletedAt": "<string>"
}
}Was this page helpful?