Organizations API
Update a project
PUT
Change the name, slug or description. Needs the project update permission. Returns 403 with code ORG_PENDING_DELETION while the organization is pending deletion. Requires an interactive browser session; project-scoped CLI tokens receive 403.
sessionCookiecookie
better-auth.session_token<token>Interactive Better Auth browser session. Secure deployments may use the __Secure- cookie prefix.
id*stringFormat
uuidapplication/json- body
Properties
1 <= propertiesname?stringLength
1 <= length <= 255slug?|Length
length <= 100description?|Length
length <= 5000Project updated
application/json- response
success?booleanproject?curl -X PUT 'https://app.supercheck.io/api/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "success": true, "project": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "description": "string", "organizationId": "string", "isDefault": true, "status": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "role": "string" }}