School root route requests API

is allowed

DELETE /api/v1/school

Parameters

Name Description
name School Name

Request

Headers

Accept: application/json
X-Api-Token: 1TWR7zeR46-PEBfCGtw56_ZxfrtnWZsAzg
X-Api-Email: user-282@example.com

Route

DELETE /api/v1/school

Body

{}

cURL

curl "http://localhost:3000/api/v1/school" -d '{}' -X DELETE \
	-H "Accept: application/json" \
	-H "X-Api-Token: 1TWR7zeR46-PEBfCGtw56_ZxfrtnWZsAzg" \
	-H "X-Api-Email: user-282@example.com" \
	-H "Content-Type: application/json" \
	-H "Host: school.worksonmy.computer"

Response

Headers

Content-Type: application/json; charset=utf-8
Content-Length: 78

Status

200 OK

Body

{
  "url": "http://sso.worksonmy.computer:3001/secure/teachable_accounts/sign_up"
}