cURL
curl --request PUT \ --url https://services.pref.rio/rmi/v1/admin/notification-categories/{category_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "active": true, "default_opt_in": true, "description": "<string>", "name": "<string>", "order": 123 } '
{ "active": true, "created_at": "<string>", "default_opt_in": true, "description": "<string>", "id": "<string>", "name": "<string>", "order": 123, "updated_at": "<string>" }
Update an existing notification category (admin only)
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Category ID
Updated category data
Category updated successfully