Download OpenAPI specification:
Welcome to the HumHub user module API reference.
| page | integer >= 0 The number of page of the result set. |
| limit | integer [ 1 .. 50 ] Default: 20 The numbers of items to return per page. |
{- "total": 76,
- "page": 1,
- "results": [
- {
- "id": 14,
- "guid": "cd081891-d2e2-40d5-84a4-b47309e71c80",
- "display_name": "John Doe",
- "account": {
- "id": 14,
- "guid": "cd081891-d2e2-40d5-84a4-b47309e71c80",
- "username": "john.doe",
- "email": "john.doe@example.com",
- "visibility": 0,
- "status": 1,
- "tags": [
- "Administration",
- "Support",
- "HumHub"
], - "language": "DE",
- "time_zone": "Europe/Paris",
- "contentcontainer_id": 5,
- "authclient": "local",
- "authclient_id": "0123456789",
- "last_login": "2023-09-11 08:46:40"
}, - "profile": {
- "firstname": "John",
- "lastname": "Doe",
- "title": "Test user",
- "gender": "male",
- "street": "New Street 5",
- "zip": 80331,
- "city": "Munich",
- "country": "DE (ISO 3166 code)",
- "state": "string",
- "birthday_hide_year": 0,
- "birthday": "1990-01-01",
- "about": "string",
- "phone_private": "string",
- "phone_work": "string",
- "mobile": "string",
- "fax": "string",
- "im_skype": "string",
- "im_xmpp": "string",
- "url": "string",
- "url_facebook": "string",
- "url_linkedin": "string",
- "url_xing": "string",
- "url_youtube": "string",
- "url_vimeo": "string",
- "url_flickr": "string",
- "url_myspace": "string",
- "url_twitter": "string",
- "image_url": "string",
- "banner_url": "string"
}
}
]
}User object to be added to the installation
required | object (Account) |
required | object (Profile) |
required | object (Password) |
{- "account": {
- "username": "john.doe",
- "email": "john.doe@example.com",
- "visibility": 0,
- "status": 1,
- "tagsField": [
- "Administration",
- "Support",
- "HumHub"
], - "language": "DE",
- "authclient": "local",
- "authclient_id": "0123456789"
}, - "profile": {
- "firstname": "John",
- "lastname": "Doe",
- "title": "Test user",
- "gender": "male",
- "street": "New Street 5",
- "zip": 80331,
- "city": "Munich",
- "country": "DE (ISO 3166 code)",
- "state": "string",
- "birthday_hide_year": 0,
- "birthday": "1990-01-01",
- "about": "string",
- "phone_private": "string",
- "phone_work": "string",
- "mobile": "string",
- "fax": "string",
- "im_skype": "string",
- "im_xmpp": "string",
- "url": "string",
- "url_facebook": "string",
- "url_linkedin": "string",
- "url_xing": "string",
- "url_youtube": "string",
- "url_vimeo": "string",
- "url_flickr": "string",
- "url_myspace": "string",
- "url_twitter": "string",
- "image_url": "string",
- "banner_url": "string",
- "image": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAAKAAoDASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAACAUG/8QAKBAAAgECBAMJAAAAAAAAAAAAAQIDBAcABhEhBRJhEyQxMjRBc4Gx/8QAFQEBAQAAAAAAAAAAAAAAAAAABQb/xAAYEQEAAwEAAAAAAAAAAAAAAAABAAIRIf/aAAwDAQACEQMRAD8AzN2Ku5kl8knybn5uG01caOPhcJmkihh8iBNNeVzzlywAbYgkbjCqqMwW8eeR5TwcOzksE7JVB130HsOmD1GTPcK38MxMka5iqdFbcDuwPgeoB+sRq31tR8r/AKcShdrwj6bP/9k=",
- "banner": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAAKAAoDASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAACAUG/8QAKBAAAgECBAMJAAAAAAAAAAAAAQIDBAcABhEhBRJhEyQxMjRBc4Gx/8QAFQEBAQAAAAAAAAAAAAAAAAAABQb/xAAYEQEAAwEAAAAAAAAAAAAAAAABAAIRIf/aAAwDAQACEQMRAD8AzN2Ku5kl8knybn5uG01caOPhcJmkihh8iBNNeVzzlywAbYgkbjCqqMwW8eeR5TwcOzksE7JVB130HsOmD1GTPcK38MxMka5iqdFbcDuwPgeoB+sRq31tR8r/AKcShdrwj6bP/9k="
}, - "password": {
- "newPassword": "SuperSecretPassword",
- "mustChangePassword": true
}
}{- "id": 14,
- "guid": "cd081891-d2e2-40d5-84a4-b47309e71c80",
- "display_name": "John Doe",
- "account": {
- "id": 14,
- "guid": "cd081891-d2e2-40d5-84a4-b47309e71c80",
- "username": "john.doe",
- "email": "john.doe@example.com",
- "visibility": 0,
- "status": 1,
- "tags": [
- "Administration",
- "Support",
- "HumHub"
], - "language": "DE",
- "time_zone": "Europe/Paris",
- "contentcontainer_id": 5,
- "authclient": "local",
- "authclient_id": "0123456789",
- "last_login": "2023-09-11 08:46:40"
}, - "profile": {
- "firstname": "John",
- "lastname": "Doe",
- "title": "Test user",
- "gender": "male",
- "street": "New Street 5",
- "zip": 80331,
- "city": "Munich",
- "country": "DE (ISO 3166 code)",
- "state": "string",
- "birthday_hide_year": 0,
- "birthday": "1990-01-01",
- "about": "string",
- "phone_private": "string",
- "phone_work": "string",
- "mobile": "string",
- "fax": "string",
- "im_skype": "string",
- "im_xmpp": "string",
- "url": "string",
- "url_facebook": "string",
- "url_linkedin": "string",
- "url_xing": "string",
- "url_youtube": "string",
- "url_vimeo": "string",
- "url_flickr": "string",
- "url_myspace": "string",
- "url_twitter": "string",
- "image_url": "string",
- "banner_url": "string"
}
}{- "id": 14,
- "guid": "cd081891-d2e2-40d5-84a4-b47309e71c80",
- "display_name": "John Doe",
- "account": {
- "id": 14,
- "guid": "cd081891-d2e2-40d5-84a4-b47309e71c80",
- "username": "john.doe",
- "email": "john.doe@example.com",
- "visibility": 0,
- "status": 1,
- "tags": [
- "Administration",
- "Support",
- "HumHub"
], - "language": "DE",
- "time_zone": "Europe/Paris",
- "contentcontainer_id": 5,
- "authclient": "local",
- "authclient_id": "0123456789",
- "last_login": "2023-09-11 08:46:40"
}, - "profile": {
- "firstname": "John",
- "lastname": "Doe",
- "title": "Test user",
- "gender": "male",
- "street": "New Street 5",
- "zip": 80331,
- "city": "Munich",
- "country": "DE (ISO 3166 code)",
- "state": "string",
- "birthday_hide_year": 0,
- "birthday": "1990-01-01",
- "about": "string",
- "phone_private": "string",
- "phone_work": "string",
- "mobile": "string",
- "fax": "string",
- "im_skype": "string",
- "im_xmpp": "string",
- "url": "string",
- "url_facebook": "string",
- "url_linkedin": "string",
- "url_xing": "string",
- "url_youtube": "string",
- "url_vimeo": "string",
- "url_flickr": "string",
- "url_myspace": "string",
- "url_twitter": "string",
- "image_url": "string",
- "banner_url": "string"
}
}| id required | integer The id of the user |
Authentication client details
| source required | string |
| sourceId required | string |
{- "source": "google",
- "sourceId": "1234567890"
}| name required | string Authentication client name |
| id required | string Authentication client ID |
{- "id": 14,
- "guid": "cd081891-d2e2-40d5-84a4-b47309e71c80",
- "display_name": "John Doe",
- "account": {
- "id": 14,
- "guid": "cd081891-d2e2-40d5-84a4-b47309e71c80",
- "username": "john.doe",
- "email": "john.doe@example.com",
- "visibility": 0,
- "status": 1,
- "tags": [
- "Administration",
- "Support",
- "HumHub"
], - "language": "DE",
- "time_zone": "Europe/Paris",
- "contentcontainer_id": 5,
- "authclient": "local",
- "authclient_id": "0123456789",
- "last_login": "2023-09-11 08:46:40"
}, - "profile": {
- "firstname": "John",
- "lastname": "Doe",
- "title": "Test user",
- "gender": "male",
- "street": "New Street 5",
- "zip": 80331,
- "city": "Munich",
- "country": "DE (ISO 3166 code)",
- "state": "string",
- "birthday_hide_year": 0,
- "birthday": "1990-01-01",
- "about": "string",
- "phone_private": "string",
- "phone_work": "string",
- "mobile": "string",
- "fax": "string",
- "im_skype": "string",
- "im_xmpp": "string",
- "url": "string",
- "url_facebook": "string",
- "url_linkedin": "string",
- "url_xing": "string",
- "url_youtube": "string",
- "url_vimeo": "string",
- "url_flickr": "string",
- "url_myspace": "string",
- "url_twitter": "string",
- "image_url": "string",
- "banner_url": "string"
}
}{- "id": 14,
- "guid": "cd081891-d2e2-40d5-84a4-b47309e71c80",
- "display_name": "John Doe",
- "account": {
- "id": 14,
- "guid": "cd081891-d2e2-40d5-84a4-b47309e71c80",
- "username": "john.doe",
- "email": "john.doe@example.com",
- "visibility": 0,
- "status": 1,
- "tags": [
- "Administration",
- "Support",
- "HumHub"
], - "language": "DE",
- "time_zone": "Europe/Paris",
- "contentcontainer_id": 5,
- "authclient": "local",
- "authclient_id": "0123456789",
- "last_login": "2023-09-11 08:46:40"
}, - "profile": {
- "firstname": "John",
- "lastname": "Doe",
- "title": "Test user",
- "gender": "male",
- "street": "New Street 5",
- "zip": 80331,
- "city": "Munich",
- "country": "DE (ISO 3166 code)",
- "state": "string",
- "birthday_hide_year": 0,
- "birthday": "1990-01-01",
- "about": "string",
- "phone_private": "string",
- "phone_work": "string",
- "mobile": "string",
- "fax": "string",
- "im_skype": "string",
- "im_xmpp": "string",
- "url": "string",
- "url_facebook": "string",
- "url_linkedin": "string",
- "url_xing": "string",
- "url_youtube": "string",
- "url_vimeo": "string",
- "url_flickr": "string",
- "url_myspace": "string",
- "url_twitter": "string",
- "image_url": "string",
- "banner_url": "string"
}
}| id required | integer The id of user |
Updated user object
object (Account) | |
object (Profile) | |
object (Password) |
{- "account": {
- "username": "john.doe",
- "email": "john.doe@example.com",
- "visibility": 0,
- "status": 1,
- "tagsField": [
- "Administration",
- "Support",
- "HumHub"
], - "language": "DE",
- "authclient": "local",
- "authclient_id": "0123456789"
}, - "profile": {
- "firstname": "John",
- "lastname": "Doe",
- "title": "Test user",
- "gender": "male",
- "street": "New Street 5",
- "zip": 80331,
- "city": "Munich",
- "country": "DE (ISO 3166 code)",
- "state": "string",
- "birthday_hide_year": 0,
- "birthday": "1990-01-01",
- "about": "string",
- "phone_private": "string",
- "phone_work": "string",
- "mobile": "string",
- "fax": "string",
- "im_skype": "string",
- "im_xmpp": "string",
- "url": "string",
- "url_facebook": "string",
- "url_linkedin": "string",
- "url_xing": "string",
- "url_youtube": "string",
- "url_vimeo": "string",
- "url_flickr": "string",
- "url_myspace": "string",
- "url_twitter": "string",
- "image_url": "string",
- "banner_url": "string",
- "image": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAAKAAoDASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAACAUG/8QAKBAAAgECBAMJAAAAAAAAAAAAAQIDBAcABhEhBRJhEyQxMjRBc4Gx/8QAFQEBAQAAAAAAAAAAAAAAAAAABQb/xAAYEQEAAwEAAAAAAAAAAAAAAAABAAIRIf/aAAwDAQACEQMRAD8AzN2Ku5kl8knybn5uG01caOPhcJmkihh8iBNNeVzzlywAbYgkbjCqqMwW8eeR5TwcOzksE7JVB130HsOmD1GTPcK38MxMka5iqdFbcDuwPgeoB+sRq31tR8r/AKcShdrwj6bP/9k=",
- "banner": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAAKAAoDASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAACAUG/8QAKBAAAgECBAMJAAAAAAAAAAAAAQIDBAcABhEhBRJhEyQxMjRBc4Gx/8QAFQEBAQAAAAAAAAAAAAAAAAAABQb/xAAYEQEAAwEAAAAAAAAAAAAAAAABAAIRIf/aAAwDAQACEQMRAD8AzN2Ku5kl8knybn5uG01caOPhcJmkihh8iBNNeVzzlywAbYgkbjCqqMwW8eeR5TwcOzksE7JVB130HsOmD1GTPcK38MxMka5iqdFbcDuwPgeoB+sRq31tR8r/AKcShdrwj6bP/9k="
}, - "password": {
- "newPassword": "SuperSecretPassword",
- "mustChangePassword": true
}
}{- "id": 14,
- "guid": "cd081891-d2e2-40d5-84a4-b47309e71c80",
- "display_name": "John Doe",
- "account": {
- "id": 14,
- "guid": "cd081891-d2e2-40d5-84a4-b47309e71c80",
- "username": "john.doe",
- "email": "john.doe@example.com",
- "visibility": 0,
- "status": 1,
- "tags": [
- "Administration",
- "Support",
- "HumHub"
], - "language": "DE",
- "time_zone": "Europe/Paris",
- "contentcontainer_id": 5,
- "authclient": "local",
- "authclient_id": "0123456789",
- "last_login": "2023-09-11 08:46:40"
}, - "profile": {
- "firstname": "John",
- "lastname": "Doe",
- "title": "Test user",
- "gender": "male",
- "street": "New Street 5",
- "zip": 80331,
- "city": "Munich",
- "country": "DE (ISO 3166 code)",
- "state": "string",
- "birthday_hide_year": 0,
- "birthday": "1990-01-01",
- "about": "string",
- "phone_private": "string",
- "phone_work": "string",
- "mobile": "string",
- "fax": "string",
- "im_skype": "string",
- "im_xmpp": "string",
- "url": "string",
- "url_facebook": "string",
- "url_linkedin": "string",
- "url_xing": "string",
- "url_youtube": "string",
- "url_vimeo": "string",
- "url_flickr": "string",
- "url_myspace": "string",
- "url_twitter": "string",
- "image_url": "string",
- "banner_url": "string"
}
}Soft deletes the user (profile data and memberships are removed, the user's own content is kept).
Spaces owned by the user are transferred to the API user who performs the request, unless deleteSpaces=1 is given.
Warning: with deleteSpaces=1 the owned spaces are deleted irrevocably, including the content of other users.
| id required | integer The id of user |
| deleteSpaces | integer Default: 0 Enum: 0 1 How to handle the spaces owned by the user:
|
Deletes the user completely, including the user's own content.
Spaces owned by the user are transferred to the API user who performs the request, unless deleteSpaces=1 is given.
Warning: with deleteSpaces=1 the owned spaces are deleted irrevocably, including the content of other users.
| id required | integer The id of user |
| deleteSpaces | integer Default: 0 Enum: 0 1 How to handle the spaces owned by the user:
|
| page | integer >= 0 The number of page of the result set. |
| limit | integer [ 1 .. 50 ] Default: 20 The numbers of items to return per page. |
{- "total": 76,
- "page": 1,
- "results": [
- {
- "id": 1,
- "name": "Example group",
- "description": "Users of Example",
- "show_at_directory": false,
- "show_at_registration": false,
- "sort_order": 100
}
]
}The added Group object
| name | string |
| description | string |
| show_at_directory | boolean |
| show_at_registration | boolean |
| sort_order | int |
{- "name": "Example group",
- "description": "Users of Example",
- "show_at_directory": false,
- "show_at_registration": false,
- "sort_order": 100
}{- "total": 76,
- "page": 1,
- "results": [
- {
- "id": 14,
- "email": "email@email.org",
- "firstname": "John",
- "lastname": "Doe",
- "language": "English",
- "space": {
- "id": 1,
- "guid": "cd081891-d2e2-40d5-84a4-b47309e71c80",
- "name": "Welcome Space",
- "description": "Your first sample space to discover the platform.",
}, - "originator": {
- "id": 14,
- "guid": "cd081891-d2e2-40d5-84a4-b47309e71c80",
- "display_name": "John Doe",
}, - "createdBy": {
- "id": 14,
- "guid": "cd081891-d2e2-40d5-84a4-b47309e71c80",
- "display_name": "John Doe",
}, - "updatedBy": {
- "id": 14,
- "guid": "cd081891-d2e2-40d5-84a4-b47309e71c80",
- "display_name": "John Doe",
}, - "createdAt": "2024-09-11 08:46:40",
- "updatedAt": "2024-09-15 08:46:40"
}
]
}