Get Business Units for a user
GET {{baseUrl}}/business-units/v3/business-units/user/:userId?properties=<string>&properties=<string>&name=<string>&name=<string>
Get Business Units identified by userId
. The userId
refers to the user’s ID.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
properties | string | The names of properties to optionally include in the response body. The only valid value is logoMetadata . | |
properties | string | The names of properties to optionally include in the response body. The only valid value is logoMetadata . | |
name | string | The names of Business Units to retrieve. If empty or not provided, then all associated Business Units will be returned. | |
name | string | The names of Business Units to retrieve. If empty or not provided, then all associated Business Units will be returned. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"results":[{"id":"\u003cstring\u003e","name":"\u003cstring\u003e","logoMetadata":{"logoUrl":"\u003cstring\u003e","logoAltText":"\u003cstring\u003e","resizedUrl":"\u003cstring\u003e"}},{"id":"\u003cstring\u003e","name":"\u003cstring\u003e","logoMetadata":{"logoUrl":"\u003cstring\u003e","logoAltText":"\u003cstring\u003e","resizedUrl":"\u003cstring\u003e"}}]}