curl --request POST \
--url https://api.qumo-deploy.com/v1/projects/{project_id}/identities \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "ci-deployer"
}
'import requests
url = "https://api.qumo-deploy.com/v1/projects/{project_id}/identities"
payload = { "name": "ci-deployer" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'ci-deployer'})
};
fetch('https://api.qumo-deploy.com/v1/projects/{project_id}/identities', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.qumo-deploy.com/v1/projects/{project_id}/identities",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'ci-deployer'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.qumo-deploy.com/v1/projects/{project_id}/identities"
payload := strings.NewReader("{\n \"name\": \"ci-deployer\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.qumo-deploy.com/v1/projects/{project_id}/identities")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"ci-deployer\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qumo-deploy.com/v1/projects/{project_id}/identities")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"ci-deployer\"\n}"
response = http.request(request)
puts response.read_body{
"id": "c2a4e6f8-0b1d-4c3e-9f5a-7b9d1e3f5a6c",
"project_id": "9b1d6e2f-4a3c-4f8b-a7e5-0c9d2b4f6e81",
"name": "ci-deployer",
"owner_user_id": "5e7a9c3b-1d2f-4b6e-8a0c-7f3d9e1b5a24",
"created_at": "2026-10-14T09:12:44Z"
}{
"error": "organization_id is required"
}{
"error": "organization_id is required"
}{
"error": "organization_id is required"
}Create a machine identity
Creates a machine identity in the project, owned by the signed-in user. Only a user can create one: a request authenticated with an identity token is refused. Grant the identity a role with an IAM binding, then mint tokens for it.
curl --request POST \
--url https://api.qumo-deploy.com/v1/projects/{project_id}/identities \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "ci-deployer"
}
'import requests
url = "https://api.qumo-deploy.com/v1/projects/{project_id}/identities"
payload = { "name": "ci-deployer" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'ci-deployer'})
};
fetch('https://api.qumo-deploy.com/v1/projects/{project_id}/identities', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.qumo-deploy.com/v1/projects/{project_id}/identities",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'ci-deployer'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.qumo-deploy.com/v1/projects/{project_id}/identities"
payload := strings.NewReader("{\n \"name\": \"ci-deployer\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.qumo-deploy.com/v1/projects/{project_id}/identities")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"ci-deployer\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qumo-deploy.com/v1/projects/{project_id}/identities")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"ci-deployer\"\n}"
response = http.request(request)
puts response.read_body{
"id": "c2a4e6f8-0b1d-4c3e-9f5a-7b9d1e3f5a6c",
"project_id": "9b1d6e2f-4a3c-4f8b-a7e5-0c9d2b4f6e81",
"name": "ci-deployer",
"owner_user_id": "5e7a9c3b-1d2f-4b6e-8a0c-7f3d9e1b5a24",
"created_at": "2026-10-14T09:12:44Z"
}{
"error": "organization_id is required"
}{
"error": "organization_id is required"
}{
"error": "organization_id is required"
}Authorizations
A personal access token (POST /v1/auth/tokens) or a machine
identity token (POST /v1/projects/{project_id}/identities/{identity_id}/tokens),
both prefixed qumo_pat_. A token's scopes cap what it can do; see
Scopes and permissions. A personal
token names no organization: on a route whose path names no project or
organization, pass ?organization_id=.
Path Parameters
The project's id.
Body
Display name.
"ci-deployer"
Response
The created identity.
A machine identity in a project.
"c2a4e6f8-0b1d-4c3e-9f5a-7b9d1e3f5a6c"
"9b1d6e2f-4a3c-4f8b-a7e5-0c9d2b4f6e81"
"ci-deployer"
The user who created the identity.
"5e7a9c3b-1d2f-4b6e-8a0c-7f3d9e1b5a24"
"2026-10-14T09:12:44Z"