cURL
curl --request POST \ --url https://api.example.com/api/v1/spaces \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>" } '
Create a new space.
curl -X POST https://api.ama2.me/api/v1/spaces \ -H "Authorization: Bearer YOUR_JWT_TOKEN" \ -H "Content-Type: application/json" \ -d '{"name": "My Space"}'