users
User related operations
The search query
The field (and direction) on which sorting apply
The page to fetch
The page size to fetch
An optional fields mask
Success
The next page URL if exists
The current page
The page size used for pagination
The previous page URL if exists
The total paginated items
GET /api/1/users/ HTTP/1.1
Host: www.data.gouv.fr
Accept: */*
Success
{
"data": [
{
"about": "text",
"active": true,
"avatar": "text",
"avatar_thumbnail": "text",
"deleted": "2026-01-01T00:00:00.000Z",
"email": "text",
"first_name": "text",
"id": "text",
"last_login_at": "2026-01-01T00:00:00.000Z",
"last_name": "text",
"mail_cadence": "immediate",
"metrics": {},
"notifications_paused": true,
"organizations": [
{
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"permissions": {
"delete": true,
"edit": true,
"harvest": true,
"members": true,
"private": true
},
"slug": "text",
"uri": "text"
}
],
"page": "text",
"password_rotation_demanded": "2026-01-01T00:00:00.000Z",
"password_rotation_performed": "2026-01-01T00:00:00.000Z",
"roles": [
"text"
],
"since": "2026-01-01T00:00:00.000Z",
"slug": "text",
"uri": "text",
"website": "text"
}
],
"next_page": "text",
"page": 1,
"page_size": 1,
"previous_page": "text",
"total": 1
}An optional fields mask
immediateValeurs possibles: Success
URL of the image
URL of the cropped and squared image (500x500)
The date the account was deleted, null for a live account
immediateValeurs possibles: Link to the udata web page for this user
Link to the API endpoint for this user
Validation error
POST /api/1/users/ HTTP/1.1
Host: www.data.gouv.fr
Content-Type: application/json
Accept: */*
Content-Length: 142
{
"about": "text",
"email": "text",
"first_name": "text",
"last_name": "text",
"mail_cadence": "immediate",
"notifications_paused": true,
"website": "text"
}{
"about": "text",
"active": true,
"avatar": "text",
"avatar_thumbnail": "text",
"deleted": "2026-01-01T00:00:00.000Z",
"email": "text",
"first_name": "text",
"id": "text",
"last_login_at": "2026-01-01T00:00:00.000Z",
"last_name": "text",
"mail_cadence": "immediate",
"metrics": {},
"notifications_paused": true,
"organizations": [
{
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"permissions": {
"delete": true,
"edit": true,
"harvest": true,
"members": true,
"private": true
},
"slug": "text",
"uri": "text"
}
],
"page": "text",
"password_rotation_demanded": "2026-01-01T00:00:00.000Z",
"password_rotation_performed": "2026-01-01T00:00:00.000Z",
"roles": [
"text"
],
"since": "2026-01-01T00:00:00.000Z",
"slug": "text",
"uri": "text",
"website": "text"
}The string to autocomplete/suggest
The amount of suggestion to fetch (between 1 and 20)
An optional fields mask
Success
The user avatar URL
The user email (only the domain for non-admin user)
The user first name
The user identifier
The user last name
The user permalink string
GET /api/1/users/suggest/?q=text HTTP/1.1
Host: www.data.gouv.fr
Accept: */*
Success
[
{
"avatar_url": "text",
"email": {},
"first_name": "text",
"id": "text",
"last_name": "text",
"slug": "text"
}
]The page to fetch
The page size to fetch
Filter follower by user, it allows to check if a user is following the object
An optional fields mask
Success
The next page URL if exists
The current page
The page size used for pagination
The previous page URL if exists
The total paginated items
GET /api/1/users/{id}/followers/ HTTP/1.1
Host: www.data.gouv.fr
Accept: */*
Success
{
"data": [
{
"follower": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"deleted": "2026-01-01T00:00:00.000Z",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"id": "text",
"since": "2026-01-01T00:00:00.000Z"
}
],
"next_page": "text",
"page": 1,
"page_size": 1,
"previous_page": "text",
"total": 1
}An optional fields mask
Success
URL of the image
URL of the cropped and squared image (500x500)
The date the account was deleted, null for a live account
immediateValeurs possibles: Link to the udata web page for this user
Link to the API endpoint for this user
User not found
User is not active or has been deleted
GET /api/1/users/{user}/ HTTP/1.1
Host: www.data.gouv.fr
Accept: */*
{
"about": "text",
"active": true,
"avatar": "text",
"avatar_thumbnail": "text",
"deleted": "2026-01-01T00:00:00.000Z",
"email": "text",
"first_name": "text",
"id": "text",
"last_login_at": "2026-01-01T00:00:00.000Z",
"last_name": "text",
"mail_cadence": "immediate",
"metrics": {},
"notifications_paused": true,
"organizations": [
{
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"permissions": {
"delete": true,
"edit": true,
"harvest": true,
"members": true,
"private": true
},
"slug": "text",
"uri": "text"
}
],
"page": "text",
"password_rotation_demanded": "2026-01-01T00:00:00.000Z",
"password_rotation_performed": "2026-01-01T00:00:00.000Z",
"roles": [
"text"
],
"since": "2026-01-01T00:00:00.000Z",
"slug": "text",
"uri": "text",
"website": "text"
}An optional fields mask
immediateValeurs possibles: Success
URL of the image
URL of the cropped and squared image (500x500)
The date the account was deleted, null for a live account
immediateValeurs possibles: Link to the udata web page for this user
Link to the API endpoint for this user
Validation error
User not found
User is not active or has been deleted
PUT /api/1/users/{user}/ HTTP/1.1
Host: www.data.gouv.fr
Content-Type: application/json
Accept: */*
Content-Length: 142
{
"about": "text",
"email": "text",
"first_name": "text",
"last_name": "text",
"mail_cadence": "immediate",
"notifications_paused": true,
"website": "text"
}{
"about": "text",
"active": true,
"avatar": "text",
"avatar_thumbnail": "text",
"deleted": "2026-01-01T00:00:00.000Z",
"email": "text",
"first_name": "text",
"id": "text",
"last_login_at": "2026-01-01T00:00:00.000Z",
"last_name": "text",
"mail_cadence": "immediate",
"metrics": {},
"notifications_paused": true,
"organizations": [
{
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"permissions": {
"delete": true,
"edit": true,
"harvest": true,
"members": true,
"private": true
},
"slug": "text",
"uri": "text"
}
],
"page": "text",
"password_rotation_demanded": "2026-01-01T00:00:00.000Z",
"password_rotation_performed": "2026-01-01T00:00:00.000Z",
"roles": [
"text"
],
"since": "2026-01-01T00:00:00.000Z",
"slug": "text",
"uri": "text",
"website": "text"
}Send formal legal notice with appeal information to owner (admin only)
Do not send the simple deletion notification email. Note: automatically set to True when send_legal_notice=True to avoid sending duplicate emails.
Delete comments posted by the user upon user deletion
Object deleted
Aucun contenu
When trying to delete yourself
User not found
User is not active or has been deleted
DELETE /api/1/users/{user}/ HTTP/1.1
Host: www.data.gouv.fr
Accept: */*
Aucun contenu
An optional fields mask
The image to upload
An optional crop box, as left,upper,right,lower pixel coordinates
Success
Whether the upload succeeded or not.
truePOST /api/1/users/{user}/avatar HTTP/1.1
Host: www.data.gouv.fr
Content-Type: multipart/form-data
Accept: */*
Content-Length: 29
{
"file": "text",
"bbox": "text"
}Success
{
"image": "text",
"success": true
}Ce contenu vous a-t-il été utile ?

