Update API docs

This commit is contained in:
xfarrow
2025-06-10 12:20:34 +02:00
parent ade6a05408
commit 443b9d826b
34 changed files with 84 additions and 43 deletions

View File

@@ -0,0 +1,22 @@
meta {
name: AddOrganizationAdmin
type: http
seq: 1
}
post {
url: http://localhost:3000/api/organizations/1/admins
body: json
auth: none
}
headers {
Content-Type: application/json
User-Agent: insomnia/2023.5.8
}
body:json {
{
"personId" : "2"
}
}

View File

@@ -0,0 +1,16 @@
meta {
name: RemoveOrganizationAdmin
type: http
seq: 2
}
delete {
url: http://localhost:3000/api/organizations/1/admins/me
body: json
auth: none
}
headers {
Content-Type: application/json
User-Agent: insomnia/2023.5.8
}