curl --request POST \
--url https://api.hyra.io/workspace/google/{workspaceId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"service_account": {
"type": "<string>",
"project_id": "<string>",
"private_key_id": "<string>",
"private_key": "<string>",
"client_email": "<string>",
"client_id": "<string>",
"universe_domain": "<string>"
}
}'
{
"success": true
}
Store Google Service account for a workspace
curl --request POST \
--url https://api.hyra.io/workspace/google/{workspaceId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"service_account": {
"type": "<string>",
"project_id": "<string>",
"private_key_id": "<string>",
"private_key": "<string>",
"client_email": "<string>",
"client_id": "<string>",
"universe_domain": "<string>"
}
}'
{
"success": true
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Default Response
The response is of type object
.