Organization

Update Organization

PATCH

🚧 Requires partner key

Organization endpoints are only accessible using partner keys

Path parameters

idstringRequired

Request

This endpoint expects an object.
name
stringRequired
client_id
stringOptional
client_secret
stringOptional
issuer
stringOptional
sso_domain
stringOptional
sso_org_id
stringOptional

Response

This endpoint returns an object
data
objectOptional

Errors

PATCH
1curl -X PATCH https://app.polytomic.com/api/organizations/248df4b7-aa70-47b8-a036-33ac447e668d \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "name": "My Organization"
6}'
1{
2 "data": {
3 "id": "id",
4 "issuer": "https://example.com",
5 "name": "My Organization",
6 "sso_domain": "example.com",
7 "sso_org_id": "123456"
8 }
9}