Your data / Formations
PATCH
https://ba.joexyz.online/api/v1/me/formations/:idhttp://localhost:3000/api/v1/me/formations/:idUpdates a formation and returns it. Fields you leave out keep their current values.
Parameters
id(path): The formation id.
Authentication
Bearer Token — send Authorization: Bearer <token>. Inherited from folder "Your data".
Path parameters
| Name | Value |
|---|---|
| id |
Headers
| Name | Value |
|---|---|
| Content-Type | application/json |
Bodyapplication/json
{
"name": "Kurokage Blue TOR 40,146,162pt"
}curl -X PATCH https://ba.joexyz.online/api/v1/me/formations/:id \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer {{api_key}}' \
--data-raw '{
"name": "Kurokage Blue TOR 40,146,162pt"
}'const response = await fetch("https://ba.joexyz.online/api/v1/me/formations/:id", {
method: "PATCH",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer {{api_key}}",
},
body: JSON.stringify({
"name": "Kurokage Blue TOR 40,146,162pt"
}),
});
const data = await response.json();
console.log(data);import requests
url = "https://ba.joexyz.online/api/v1/me/formations/:id"
headers = {
"Authorization": "Bearer {{api_key}}",
}
payload = {
"name": "Kurokage Blue TOR 40,146,162pt",
}
response = requests.patch(url, headers=headers, json=payload)
print(response.json())package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
body := strings.NewReader(`{
"name": "Kurokage Blue TOR 40,146,162pt"
}`)
req, err := http.NewRequest("PATCH", "https://ba.joexyz.online/api/v1/me/formations/:id", body)
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer {{api_key}}")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
data, _ := io.ReadAll(res.Body)
fmt.Println(string(data))
}curl -X PATCH http://localhost:3000/api/v1/me/formations/:id \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer {{api_key}}' \
--data-raw '{
"name": "Kurokage Blue TOR 40,146,162pt"
}'const response = await fetch("http://localhost:3000/api/v1/me/formations/:id", {
method: "PATCH",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer {{api_key}}",
},
body: JSON.stringify({
"name": "Kurokage Blue TOR 40,146,162pt"
}),
});
const data = await response.json();
console.log(data);import requests
url = "http://localhost:3000/api/v1/me/formations/:id"
headers = {
"Authorization": "Bearer {{api_key}}",
}
payload = {
"name": "Kurokage Blue TOR 40,146,162pt",
}
response = requests.patch(url, headers=headers, json=payload)
print(response.json())package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
body := strings.NewReader(`{
"name": "Kurokage Blue TOR 40,146,162pt"
}`)
req, err := http.NewRequest("PATCH", "http://localhost:3000/api/v1/me/formations/:id", body)
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer {{api_key}}")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
data, _ := io.ReadAll(res.Body)
fmt.Println(string(data))
}Response
{
"data": {
"id": "jh77yzy2wan6zd9wems2fmsdw98e8wq5",
"createdAt": "2026-09-12T17:20:40.760Z",
"name": "Kurokage Blue TOR 40,146,162pt",
"displayOverline": false,
"groupsVertical": false,
"noDisplayRole": false,
"rowGap": 8,
"rows": [
{
"specials": [
{
"studentId": "nagisa_swimsuit",
"level": 90,
"starLevel": 5,
"starter": true,
"starterOrder": 2,
"ueLevel": 4
},
{
"studentId": "kisaki",
"level": 90,
"starLevel": 5,
"starter": true,
"starterOrder": 4,
"ueLevel": 4
}
],
"strikers": [
{
"studentId": "kayoko_newyear",
"level": 90,
"starLevel": 5,
"ueLevel": 2
},
{
"studentId": "hare_camp",
"level": 90,
"starLevel": 5,
"starter": true,
"starterOrder": 1,
"ueLevel": 2
},
{
"studentId": "hoshino_battle_dealer",
"borrowed": true,
"level": 90,
"starLevel": 5,
"starter": true,
"starterOrder": 3,
"ueLevel": 4
},
{
"studentId": "shun",
"level": 90,
"starLevel": 5,
"starter": true,
"starterOrder": 5,
"ueLevel": 1
}
]
},
{
"specials": [
{
"studentId": "michiru_dress",
"level": 90,
"starLevel": 5,
"starter": false,
"ueLevel": 2
},
{
"studentId": "yuzu_battle",
"level": 90,
"starLevel": 5,
"starter": true,
"starterOrder": 3,
"ueLevel": 1
}
],
"strikers": [
{
"studentId": "aru_dress",
"level": 90,
"starLevel": 5,
"starter": true,
"starterOrder": 4,
"ueLevel": 2
},
{
"studentId": "seia_swimsuit",
"level": 90,
"starLevel": 5,
"starter": true,
"starterOrder": 5,
"ueLevel": 2
},
{
"studentId": "kei",
"level": 90,
"starLevel": 5,
"starter": true,
"starterOrder": 1,
"ueLevel": 4
},
{
"studentId": "hoshino_battle_dealer",
"level": 90,
"starLevel": 5,
"starter": true,
"starterOrder": 2,
"ueLevel": 4
}
]
}
],
"specials": [
{
"studentId": "nagisa_swimsuit",
"level": 90,
"starLevel": 5,
"starter": true,
"starterOrder": 2,
"ueLevel": 4
},
{
"studentId": "kisaki",
"level": 90,
"starLevel": 5,
"starter": true,
"starterOrder": 4,
"ueLevel": 4
}
],
"strikers": [
{
"studentId": "kayoko_newyear",
"level": 90,
"starLevel": 5,
"ueLevel": 2
},
{
"studentId": "hare_camp",
"level": 90,
"starLevel": 5,
"starter": true,
"starterOrder": 1,
"ueLevel": 2
},
{
"studentId": "hoshino_battle_dealer",
"borrowed": true,
"level": 90,
"starLevel": 5,
"starter": true,
"starterOrder": 3,
"ueLevel": 4
},
{
"studentId": "shun",
"level": 90,
"starLevel": 5,
"starter": true,
"starterOrder": 5,
"ueLevel": 1
}
]
}
}