cURL
curl --request POST \ --url https://faisalshop.mvp-apps.ae/api/v2/admin/tenants/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>" } '
curl -X POST \ https://faisalshop.mvp-apps.ae/api/v2/admin/tenants/123 \ -H 'Authorization: Bearer YOUR_TOKEN' \ -H 'Content-Type: application/json' \ -d '{ "name": "Updated Store Name" }'
await axios.post( `/api/v2/admin/tenants/${tenantId}`, { name: 'Updated Store Name' }, { headers: { Authorization: `Bearer ${token}` } } );
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Tenant ID
Tenant updated