cURL
curl --request PUT \ --url http://localhost:3001/portal-api/organisations/{organisation_id} \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "Name": "Default Organisation" }'
{ "CreatedAt": "2023-06-23 21:02", "UpdatedAt": "2023-06-23 21:02", "ID": 1, "Name": "Default Organisation", "Teams": [ { "Default": true, "ID": 1, "Name": "Default Organisation All users" } ], "Users": [ { "Active": true, "Email": "admin@acme.com", "First": "John", "Last": "Doe", "OrganisationID": 1, "Role": "consumer-team-member", "Provider": "password", "ID": 1 } ] }
Update an organisation’s data. At this point, you can change only the name of an organisation
Show child attributes
Was this page helpful?