Skip to main content
DELETE
/
api
/
v1
/
school
/
class-patterns
/
{id}
/
clear_patterns
Clear all patterns
curl --request DELETE \
  --url https://test-api.afrainity.com/api/v1/school/class-patterns/{id}/clear_patterns/ \
  --header 'Authorization: Bearer <token>'
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "patterns": {},
  "created_at": "2025-01-15T10:30:00Z",
  "updated_at": "2025-01-20T15:00:00Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

A UUID string identifying this class patterns.

Response

{key}
any