import{r,p as h,q as i,w as a,z as e,t as l,R as s}from"./vendor.8ed37afc.js";const d={class:"markdown-body"},u={class:"two-up"},p={class:"left"},_=s("Directus Users are the individual accounts that let you authenticate into the API and App. Each user belongs to a Role which defines its granular Permissions. "),g=s("Learn more about Users"),f=s("."),m=e("div",{class:"right"},[e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#the-user-object"},"The User Object")]),e("li",null,[e("a",{href:"#list-users"},"List Users")]),e("li",null,[e("a",{href:"#retrieve-a-user"},"Retrieve a User")]),e("li",null,[e("a",{href:"#retrieve-the-current-user"},"Retrieve the Current User")]),e("li",null,[e("a",{href:"#update-the-current-user"},"Update the Current User")]),e("li",null,[e("a",{href:"#create-a-user"},"Create a User")]),e("li",null,[e("a",{href:"#create-multiple-users"},"Create Multiple Users")]),e("li",null,[e("a",{href:"#update-a-user"},"Update a User")]),e("li",null,[e("a",{href:"#update-multiple-users"},"Update Multiple Users")]),e("li",null,[e("a",{href:"#delete-a-user"},"Delete a User")]),e("li",null,[e("a",{href:"#delete-multiple-users"},"Delete Multiple Users")]),e("li",null,[e("a",{href:"#invite-a-new-user"},"Invite a new User")]),e("li",null,[e("a",{href:"#accept-user-invite"},"Accept User Invite")]),e("li",null,[e("a",{href:"#generate-two-factor-authentication-secret"},"Generate Two-Factor Authentication Secret")]),e("li",null,[e("a",{href:"#enable-two-factor-authentication"},"Enable Two-Factor Authentication")]),e("li",null,[e("a",{href:"#disable-two-factor-authentication"},"Disable Two-Factor Authentication")])])])])],-1),j=e("hr",null,null,-1),y=e("h2",{id:"the-user-object"},[s("The User Object "),e("a",{class:"header-anchor",href:"#the-user-object"},"#")],-1),q={class:"two-up"},b={class:"left"},v={class:"definitions"},w=e("p",null,[e("code",null,"id"),s(),e("strong",null,"uuid"),e("br"),s(" Primary key of the user.")],-1),x=e("p",null,[e("code",null,"first_name"),s(),e("strong",null,"string"),e("br"),s(" First name of the user.")],-1),T=e("p",null,[e("code",null,"last_name"),s(),e("strong",null,"string"),e("br"),s(" Last name of the user.")],-1),R=e("p",null,[e("code",null,"email"),s(),e("strong",null,"string"),e("br"),s(" Email address of the user.")],-1),E=e("p",null,[e("code",null,"password"),s(),e("strong",null,"hash"),e("br"),s(" Password of the user.")],-1),S=e("p",null,[e("code",null,"location"),s(),e("strong",null,"string"),e("br"),s(" Location of the user.")],-1),P=e("p",null,[e("code",null,"title"),s(),e("strong",null,"string"),e("br"),s(" Title of the user.")],-1),k=e("p",null,[e("code",null,"description"),s(),e("strong",null,"string"),e("br"),s(" Description of the user.")],-1),A=e("p",null,[e("code",null,"tags"),s(),e("strong",null,"csv"),e("br"),s(" Tags for the user.")],-1),U=e("code",null,"avatar",-1),O=s(),L=e("strong",null,"many-to-one",-1),C=e("br",null,null,-1),I=s(" Avatar file. Many-to-one to "),Q=s("files"),D=s("."),G=e("p",null,[e("code",null,"language"),s(),e("strong",null,"string"),e("br"),s(" Language the Admin App is rendered in. See "),e("a",{href:"https://locales.directus.io",target:"_blank",rel:"noopener noreferrer"},"our Crowdin page"),s(" for all available languages and translations.")],-1),B=e("p",null,[e("code",null,"theme"),s(),e("strong",null,"string"),e("br"),s(" One of "),e("code",null,"auto"),s(", "),e("code",null,"light"),s(", "),e("code",null,"dark"),s(".")],-1),M=e("p",null,[e("code",null,"tfa_secret"),s(),e("strong",null,"string"),e("br"),s(" When TFA is enabled, this holds the secret key for it.")],-1),F=e("p",null,[e("code",null,"email_notifications"),s(),e("strong",null,"boolean"),e("br"),s(" When this is enabled, the user will receive emails for notifications.")],-1),H=e("div",{class:"right"},[e("pre",null,[e("code",{class:"language-json"},[s(`{
	`),e("span",{class:"hljs-attr"},'"id"'),s(": "),e("span",{class:"hljs-string"},'"0bc7b36a-9ba9-4ce0-83f0-0a526f354e07"'),s(`,
	`),e("span",{class:"hljs-attr"},'"first_name"'),s(": "),e("span",{class:"hljs-string"},'"Admin"'),s(`,
	`),e("span",{class:"hljs-attr"},'"last_name"'),s(": "),e("span",{class:"hljs-string"},'"User"'),s(`,
	`),e("span",{class:"hljs-attr"},'"email"'),s(": "),e("span",{class:"hljs-string"},'"admin@example.com"'),s(`,
	`),e("span",{class:"hljs-attr"},'"password"'),s(": "),e("span",{class:"hljs-string"},'"**********"'),s(`,
	`),e("span",{class:"hljs-attr"},'"location"'),s(": "),e("span",{class:"hljs-string"},'"New York City"'),s(`,
	`),e("span",{class:"hljs-attr"},'"title"'),s(": "),e("span",{class:"hljs-string"},'"CTO"'),s(`,
	`),e("span",{class:"hljs-attr"},'"description"'),s(": "),e("span",{class:"hljs-literal"},"null"),s(`,
	`),e("span",{class:"hljs-attr"},'"tags"'),s(": "),e("span",{class:"hljs-literal"},"null"),s(`,
	`),e("span",{class:"hljs-attr"},'"avatar"'),s(": "),e("span",{class:"hljs-literal"},"null"),s(`,
	`),e("span",{class:"hljs-attr"},'"language"'),s(": "),e("span",{class:"hljs-string"},'"en-US"'),s(`,
	`),e("span",{class:"hljs-attr"},'"theme"'),s(": "),e("span",{class:"hljs-string"},'"auto"'),s(`,
	`),e("span",{class:"hljs-attr"},'"tfa_secret"'),s(": "),e("span",{class:"hljs-literal"},"null"),s(`,
	`),e("span",{class:"hljs-attr"},'"status"'),s(": "),e("span",{class:"hljs-string"},'"active"'),s(`,
	`),e("span",{class:"hljs-attr"},'"role"'),s(": "),e("span",{class:"hljs-string"},'"653925a9-970e-487a-bfc0-ab6c96affcdc"'),s(`,
	`),e("span",{class:"hljs-attr"},'"token"'),s(": "),e("span",{class:"hljs-literal"},"null"),s(`,
	`),e("span",{class:"hljs-attr"},'"last_access"'),s(": "),e("span",{class:"hljs-string"},'"2021-02-05T10:18:13-05:00"'),s(`,
	`),e("span",{class:"hljs-attr"},'"last_page"'),s(": "),e("span",{class:"hljs-string"},'"/settings/roles/653925a9-970e-487a-bfc0-ab6c96affcdc"'),s(`
}
`)])])],-1),N=e("hr",null,null,-1),W=e("h2",{id:"list-users"},[s("List Users "),e("a",{class:"header-anchor",href:"#list-users"},"#")],-1),V=e("p",null,"List all users that exist in Directus.",-1),Y={class:"two-up"},z={class:"left"},J=e("h3",{id:"query-parameters"},[s("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters"},"#")],-1),K=s("Supports all "),X=s("global query parameters"),Z=s("."),$=e("h3",{id:"returns"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns"},"#")],-1),ee=s("An array of up to "),se=s("limit"),ae=s(),te=e("a",{href:"#the-user-object"},"user objects",-1),le=s(". If no items are available, data will be an empty array."),ne={class:"right"},re=e("h3",{id:"rest-api"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api"},"#")],-1),ce=e("pre",null,[e("code",null,`GET /users
SEARCH /users
`)],-1),oe=s("Learn more about SEARCH ->"),he=e("h3",{id:"graphql"},[s("GraphQL "),e("a",{class:"header-anchor",href:"#graphql"},"#")],-1),ie=e("pre",null,[e("code",null,`POST /graphql/system
`)],-1),de=e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Query"),s(` {
	users: [directus_users]
}
`)])],-1),ue=e("h5",{id:"example"},[s("Example "),e("a",{class:"header-anchor",href:"#example"},"#")],-1),pe=e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"query"),s(` {
	users {
		first_name
		last_name
		email
	}
}
`)])],-1),_e=e("hr",null,null,-1),ge=e("h2",{id:"retrieve-a-user"},[s("Retrieve a User "),e("a",{class:"header-anchor",href:"#retrieve-a-user"},"#")],-1),fe=e("p",null,"List an existing user by primary key.",-1),me={class:"two-up"},je={class:"left"},ye=e("h3",{id:"query-parameters-2"},[s("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-2"},"#")],-1),qe=s("Supports all "),be=s("global query parameters"),ve=s("."),we=e("h3",{id:"returns-2"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-2"},"#")],-1),xe=e("p",null,[s("Returns the requested "),e("a",{href:"#the-user-object"},"user object"),s(".")],-1),Te=e("div",{class:"right"},[e("h3",{id:"rest-api-2"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-2"},"#")]),e("pre",null,[e("code",null,`GET /users/:id
`)]),e("h5",{id:"example-2"},[s("Example "),e("a",{class:"header-anchor",href:"#example-2"},"#")]),e("pre",null,[e("code",null,`GET /users/72a1ce24-4748-47de-a05f-ce9af3033727
`)]),e("h3",{id:"graphql-2"},[s("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-2"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
`)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Query"),s(` {
	users_by_id(id:`),e("span",{class:"hljs-literal"}," ID"),s(`!): directus_users
}
`)])]),e("h5",{id:"example-3"},[s("Example "),e("a",{class:"header-anchor",href:"#example-3"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"query"),s(` {
	users_by_id(id: `),e("span",{class:"hljs-string"},'"72a1ce24-4748-47de-a05f-ce9af3033727"'),s(`) {
		first_name
		last_name
		email
	}
}
`)])])],-1),Re=e("hr",null,null,-1),Ee=e("h2",{id:"retrieve-the-current-user"},[s("Retrieve the Current User "),e("a",{class:"header-anchor",href:"#retrieve-the-current-user"},"#")],-1),Se=e("p",null,"Retrieve the currently authenticated user.",-1),Pe={class:"two-up"},ke={class:"left"},Ae=e("h3",{id:"query-parameters-3"},[s("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-3"},"#")],-1),Ue=s("Supports all "),Oe=s("global query parameters"),Le=s("."),Ce=e("h3",{id:"returns-3"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-3"},"#")],-1),Ie=e("p",null,[s("Returns the "),e("a",{href:"#the-user-object"},"user object"),s(" for the currently authenticated user.")],-1),Qe=e("div",{class:"right"},[e("h3",{id:"rest-api-3"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-3"},"#")]),e("pre",null,[e("code",null,`GET /users/me
`)]),e("h3",{id:"graphql-3"},[s("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-3"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
`)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Query"),s(` {
	users_me: directus_users
}
`)])]),e("h5",{id:"example-4"},[s("Example "),e("a",{class:"header-anchor",href:"#example-4"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"query"),s(` {
	users_me {
		email
	}
}
`)])])],-1),De=e("hr",null,null,-1),Ge=e("h2",{id:"update-the-current-user"},[s("Update the Current User "),e("a",{class:"header-anchor",href:"#update-the-current-user"},"#")],-1),Be=e("p",null,"Update the authenticated user.",-1),Me={class:"two-up"},Fe={class:"left"},He=e("h3",{id:"query-parameters-4"},[s("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-4"},"#")],-1),Ne=s("Supports all "),We=s("global query parameters"),Ve=s("."),Ye=e("h3",{id:"returns-4"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-4"},"#")],-1),ze=e("p",null,[s("Returns the updated "),e("a",{href:"#the-user-object"},"user object"),s(" for the authenticated user.")],-1),Je=e("div",{class:"right"},[e("h3",{id:"rest-api-4"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-4"},"#")]),e("pre",null,[e("code",null,`PATCH /users/me
`)]),e("pre",null,[e("code",{class:"language-json"},[e("span",{class:"hljs-comment"},"// PATCH /users/me"),s(`

{
	`),e("span",{class:"hljs-attr"},'"email"'),s(": "),e("span",{class:"hljs-string"},'"new.email@example.com"'),s(`
}
`)])]),e("h3",{id:"graphql-4"},[s("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-4"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
`)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Mutation"),s(` {
	update_users_me(data: update_directus_users_input!): directus_users
}
`)])]),e("h5",{id:"example-5"},[s("Example "),e("a",{class:"header-anchor",href:"#example-5"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"mutation"),s(` {
	update_users_me(data: { email: `),e("span",{class:"hljs-string"},'"new.email@example.com"'),s(` }) {
		email
	}
}
`)])])],-1),Ke=e("hr",null,null,-1),Xe=e("h2",{id:"create-a-user"},[s("Create a User "),e("a",{class:"header-anchor",href:"#create-a-user"},"#")],-1),Ze=e("p",null,"Create a new user",-1),$e={class:"two-up"},es={class:"left"},ss=e("h3",{id:"query-parameters-5"},[s("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-5"},"#")],-1),as=s("Supports all "),ts=s("global query parameters"),ls=s("."),ns=e("h3",{id:"request-body"},[s("Request Body "),e("a",{class:"header-anchor",href:"#request-body"},"#")],-1),rs=e("p",null,[s("A partial "),e("a",{href:"#the-user-object"},"user object"),s(".")],-1),cs=e("p",null,[e("code",null,"email"),s(" and "),e("code",null,"password"),s(" are required.")],-1),os=e("h3",{id:"returns-5"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-5"},"#")],-1),hs=e("p",null,[s("Returns the "),e("a",{href:"#the-user-object"},"user object"),s(" for the created user.")],-1),is=e("div",{class:"right"},[e("h3",{id:"rest-api-5"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-5"},"#")]),e("pre",null,[e("code",null,`POST /users
`)]),e("h5",{id:"example-6"},[s("Example "),e("a",{class:"header-anchor",href:"#example-6"},"#")]),e("pre",null,[e("code",{class:"language-json"},[e("span",{class:"hljs-comment"},"// POST /users"),s(`

{
	`),e("span",{class:"hljs-attr"},'"email"'),s(": "),e("span",{class:"hljs-string"},'"another@example.com"'),s(`,
	`),e("span",{class:"hljs-attr"},'"password"'),s(": "),e("span",{class:"hljs-string"},'"d1r3ctu5"'),s(`,
	`),e("span",{class:"hljs-attr"},'"role"'),s(": "),e("span",{class:"hljs-string"},'"c86c2761-65d3-43c3-897f-6f74ad6a5bd7"'),s(`
}
`)])]),e("h3",{id:"graphql-5"},[s("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-5"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
`)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Mutation"),s(` {
	create_users_item(data: create_directus_users_input!): directus_users
}
`)])]),e("h5",{id:"example-7"},[s("Example "),e("a",{class:"header-anchor",href:"#example-7"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"mutation"),s(` {
	create_users_item(
		data: { email: `),e("span",{class:"hljs-string"},'"another@example.com"'),s(", password: "),e("span",{class:"hljs-string"},'"d1r3ctu5"'),s(", role: "),e("span",{class:"hljs-string"},'"c86c2761-65d3-43c3-897f-6f74ad6a5bd7"'),s(` }
	) {
		email
		role
	}
}
`)])])],-1),ds=e("hr",null,null,-1),us=e("h2",{id:"create-multiple-users"},[s("Create Multiple Users "),e("a",{class:"header-anchor",href:"#create-multiple-users"},"#")],-1),ps=e("p",null,"Create multiple new users",-1),_s={class:"two-up"},gs={class:"left"},fs=e("h3",{id:"query-parameters-6"},[s("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-6"},"#")],-1),ms=s("Supports all "),js=s("global query parameters"),ys=s("."),qs=e("h3",{id:"request-body-2"},[s("Request Body "),e("a",{class:"header-anchor",href:"#request-body-2"},"#")],-1),bs=e("p",null,[s("An array of partial "),e("a",{href:"#the-user-object"},"user objects"),s(".")],-1),vs=e("p",null,[e("code",null,"email"),s(" and "),e("code",null,"password"),s(" are required.")],-1),ws=e("h3",{id:"returns-6"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-6"},"#")],-1),xs=e("p",null,[s("Returns the "),e("a",{href:"#the-user-object"},"user objects"),s(" for the created users.")],-1),Ts=e("div",{class:"right"},[e("h3",{id:"rest-api-6"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-6"},"#")]),e("pre",null,[e("code",null,`POST /users
`)]),e("h5",{id:"example-8"},[s("Example "),e("a",{class:"header-anchor",href:"#example-8"},"#")]),e("pre",null,[e("code",{class:"language-json"},[e("span",{class:"hljs-comment"},"// POST /users"),s(`

[
	{
		`),e("span",{class:"hljs-attr"},'"email"'),s(": "),e("span",{class:"hljs-string"},'"admin@example.com"'),s(`,
		`),e("span",{class:"hljs-attr"},'"password"'),s(": "),e("span",{class:"hljs-string"},'"p455w0rd"'),s(`,
		`),e("span",{class:"hljs-attr"},'"role"'),s(": "),e("span",{class:"hljs-string"},'"c86c2761-65d3-43c3-897f-6f74ad6a5bd7"'),s(`
	},
	{
		`),e("span",{class:"hljs-attr"},'"email"'),s(": "),e("span",{class:"hljs-string"},'"another@example.com"'),s(`,
		`),e("span",{class:"hljs-attr"},'"password"'),s(": "),e("span",{class:"hljs-string"},'"d1r3ctu5"'),s(`,
		`),e("span",{class:"hljs-attr"},'"role"'),s(": "),e("span",{class:"hljs-string"},'"c86c2761-65d3-43c3-897f-6f74ad6a5bd7"'),s(`
	}
]
`)])]),e("h3",{id:"graphql-6"},[s("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-6"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
`)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Mutation"),s(` {
	create_users_items(data: [create_directus_users_input!]!): [directus_users]
}
`)])]),e("h5",{id:"example-9"},[s("Example "),e("a",{class:"header-anchor",href:"#example-9"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"mutation"),s(` {
	create_users_items(
		data: [
			{ email: `),e("span",{class:"hljs-string"},'"admin@example.com"'),s(", password: "),e("span",{class:"hljs-string"},'"p455w0rd"'),s(", role: "),e("span",{class:"hljs-string"},'"c86c2761-65d3-43c3-897f-6f74ad6a5bd7"'),s(` }
			{ email: `),e("span",{class:"hljs-string"},'"another@example.com"'),s(", password: "),e("span",{class:"hljs-string"},'"d1r3ctu5"'),s(", role: "),e("span",{class:"hljs-string"},'"c86c2761-65d3-43c3-897f-6f74ad6a5bd7"'),s(` }
		]
	) {
		email
		role
	}
}
`)])])],-1),Rs=e("hr",null,null,-1),Es=e("h2",{id:"update-a-user"},[s("Update a User "),e("a",{class:"header-anchor",href:"#update-a-user"},"#")],-1),Ss=e("p",null,"Update an existing user.",-1),Ps={class:"two-up"},ks={class:"left"},As=e("h3",{id:"query-parameters-7"},[s("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-7"},"#")],-1),Us=s("Supports all "),Os=s("global query parameters"),Ls=s("."),Cs=e("h3",{id:"request-body-3"},[s("Request Body "),e("a",{class:"header-anchor",href:"#request-body-3"},"#")],-1),Is=e("p",null,[s("A partial "),e("a",{href:"#the-user-object"},"user object"),s(".")],-1),Qs=e("h3",{id:"returns-7"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-7"},"#")],-1),Ds=e("p",null,[s("Returns the "),e("a",{href:"#the-user-object"},"user object"),s(" for the updated user.")],-1),Gs=e("div",{class:"right"},[e("h3",{id:"rest-api-7"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-7"},"#")]),e("pre",null,[e("code",null,`PATCH /users/:id
`)]),e("h5",{id:"example-10"},[s("Example "),e("a",{class:"header-anchor",href:"#example-10"},"#")]),e("pre",null,[e("code",{class:"language-json"},[e("span",{class:"hljs-comment"},"// PATCH /users/72a1ce24-4748-47de-a05f-ce9af3033727"),s(`

{
	`),e("span",{class:"hljs-attr"},'"title"'),s(": "),e("span",{class:"hljs-string"},'"CTO"'),s(`
}
`)])]),e("h3",{id:"graphql-7"},[s("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-7"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
`)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Mutation"),s(` {
	update_users_item(id:`),e("span",{class:"hljs-literal"}," ID"),s(`!, data: update_directus_users_input!): directus_users
}
`)])]),e("h5",{id:"example-11"},[s("Example "),e("a",{class:"header-anchor",href:"#example-11"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"mutation"),s(` {
	update_users_item(id: `),e("span",{class:"hljs-string"},'"72a1ce24-4748-47de-a05f-ce9af3033727"'),s(", data: { title: "),e("span",{class:"hljs-string"},'"CTO"'),s(` }) {
		first_name
		last_name
	}
}
`)])])],-1),Bs=e("hr",null,null,-1),Ms=e("h2",{id:"update-multiple-users"},[s("Update Multiple Users "),e("a",{class:"header-anchor",href:"#update-multiple-users"},"#")],-1),Fs=e("p",null,"Update multiple existing users.",-1),Hs={class:"two-up"},Ns={class:"left"},Ws=e("h3",{id:"query-parameters-8"},[s("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-8"},"#")],-1),Vs=s("Supports all "),Ys=s("global query parameters"),zs=s("."),Js=e("h3",{id:"request-body-4"},[s("Request Body "),e("a",{class:"header-anchor",href:"#request-body-4"},"#")],-1),Ks=e("div",{class:"definitions"},[e("p",null,[e("code",null,"keys"),s(),e("strong",null,"Required"),e("br"),s(" Array of primary keys of the users you\u2019d like to update.")]),e("p",null,[e("code",null,"data"),s(),e("strong",null,"Required"),e("br"),s(" Any of "),e("a",{href:"#the-user-object"},"the user object"),s("\u2019s properties.")])],-1),Xs=e("h3",{id:"returns-8"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-8"},"#")],-1),Zs=e("p",null,[s("Returns the "),e("a",{href:"#the-user-object"},"user objects"),s(" for the updated users.")],-1),$s=e("div",{class:"right"},[e("h3",{id:"rest-api-8"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-8"},"#")]),e("pre",null,[e("code",null,`PATCH /users
`)]),e("h5",{id:"example-12"},[s("Example "),e("a",{class:"header-anchor",href:"#example-12"},"#")]),e("pre",null,[e("code",{class:"language-json"},[e("span",{class:"hljs-comment"},"// PATCH /users"),s(`

{
	`),e("span",{class:"hljs-attr"},'"keys"'),s(": ["),e("span",{class:"hljs-string"},'"72a1ce24-4748-47de-a05f-ce9af3033727"'),s(", "),e("span",{class:"hljs-string"},'"9c3d75a8-7a5f-41a4-be0a-1488fd974511"'),s(`],
	`),e("span",{class:"hljs-attr"},'"data"'),s(`: {
		`),e("span",{class:"hljs-attr"},'"title"'),s(": "),e("span",{class:"hljs-string"},'"CTO"'),s(`
	}
}
`)])]),e("h3",{id:"graphql-8"},[s("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-8"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
`)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Mutation"),s(` {
	update_users_items(ids: `),e("span",{class:"hljs-literal"},"[ID"),s(`!]!, data: update_directus_users_input!): [directus_users]
}
`)])]),e("h5",{id:"example-13"},[s("Example "),e("a",{class:"header-anchor",href:"#example-13"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"mutation"),s(` {
	update_users_items(
		ids: [`),e("span",{class:"hljs-string"},'"72a1ce24-4748-47de-a05f-ce9af3033727"'),s(", "),e("span",{class:"hljs-string"},'"9c3d75a8-7a5f-41a4-be0a-1488fd974511"'),s(`]
		data: { title: `),e("span",{class:"hljs-string"},'"CTO"'),s(` }
	) {
		first_name
		last_name
	}
}
`)])])],-1),ea=e("hr",null,null,-1),sa=e("h2",{id:"delete-a-user"},[s("Delete a User "),e("a",{class:"header-anchor",href:"#delete-a-user"},"#")],-1),aa=e("p",null,"Delete an existing user.",-1),ta=e("div",{class:"two-up"},[e("div",{class:"left"},[e("h3",{id:"returns-9"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-9"},"#")]),e("p",null,"Empty body.")]),e("div",{class:"right"},[e("h3",{id:"rest-api-9"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-9"},"#")]),e("pre",null,[e("code",null,`DELETE /users/:id
`)]),e("h5",{id:"example-14"},[s("Example "),e("a",{class:"header-anchor",href:"#example-14"},"#")]),e("pre",null,[e("code",null,`DELETE /users/72a1ce24-4748-47de-a05f-ce9af3033727
`)]),e("h3",{id:"graphql-9"},[s("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-9"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
`)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Mutation"),s(` {
	delete_users_item(id:`),e("span",{class:"hljs-literal"}," ID"),s(`!): delete_one
}
`)])]),e("h5",{id:"example-15"},[s("Example "),e("a",{class:"header-anchor",href:"#example-15"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"mutation"),s(` {
	delete_users_item(id: `),e("span",{class:"hljs-string"},'"72a1ce24-4748-47de-a05f-ce9af3033727"'),s(`) {
		id
	}
}
`)])])])],-1),la=e("hr",null,null,-1),na=e("h2",{id:"delete-multiple-users"},[s("Delete Multiple Users "),e("a",{class:"header-anchor",href:"#delete-multiple-users"},"#")],-1),ra=e("p",null,"Delete multiple existing users.",-1),ca=e("div",{class:"two-up"},[e("div",{class:"left"},[e("h3",{id:"request-body-5"},[s("Request Body "),e("a",{class:"header-anchor",href:"#request-body-5"},"#")]),e("p",null,"An array of user primary keys"),e("h3",{id:"returns-10"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-10"},"#")]),e("p",null,"Empty body.")]),e("div",{class:"right"},[e("h3",{id:"rest-api-10"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-10"},"#")]),e("pre",null,[e("code",null,`DELETE /users
`)]),e("h5",{id:"example-16"},[s("Example "),e("a",{class:"header-anchor",href:"#example-16"},"#")]),e("pre",null,[e("code",{class:"language-json"},[e("span",{class:"hljs-comment"},"// Request"),s(`
[`),e("span",{class:"hljs-string"},'"653925a9-970e-487a-bfc0-ab6c96affcdc"'),s(", "),e("span",{class:"hljs-string"},'"c86c2761-65d3-43c3-897f-6f74ad6a5bd7"'),s(`]
`)])]),e("h3",{id:"graphql-10"},[s("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-10"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
`)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Mutation"),s(` {
	delete_users_items(ids: `),e("span",{class:"hljs-literal"},"[ID"),s(`!]!): delete_many
}
`)])]),e("h5",{id:"example-17"},[s("Example "),e("a",{class:"header-anchor",href:"#example-17"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"mutation"),s(` {
	delete_users_items(ids: [`),e("span",{class:"hljs-string"},'"72a1ce24-4748-47de-a05f-ce9af3033727"'),s(", "),e("span",{class:"hljs-string"},'"9c3d75a8-7a5f-41a4-be0a-1488fd974511"'),s(`]) {
		ids
	}
}
`)])])])],-1),oa=e("hr",null,null,-1),ha=e("h2",{id:"invite-a-new-user"},[s("Invite a new User "),e("a",{class:"header-anchor",href:"#invite-a-new-user"},"#")],-1),ia=e("p",null,"Invite a new user by email.",-1),da={class:"two-up"},ua={class:"left"},pa=e("h3",{id:"request-body-6"},[s("Request Body "),e("a",{class:"header-anchor",href:"#request-body-6"},"#")],-1),_a={class:"definitions"},ga=e("p",null,[e("code",null,"email"),s(),e("strong",null,"Required"),e("br"),s(" User email to invite.")],-1),fa=e("p",null,[e("code",null,"role"),s(),e("strong",null,"Required"),e("br"),s(" Role of the new user.")],-1),ma=e("code",null,"invite_url",-1),ja=e("br",null,null,-1),ya=s(" Provide a custom invite url which the link in the email will lead to. The invite token will be passed as a parameter."),qa=e("br",null,null,-1),ba=e("strong",null,"Note",-1),va=s(": You need to configure the "),wa=e("code",null,"USER_INVITE_URL_ALLOW_LIST",-1),xa=s(" environment variable"),Ta=s(" to enable this feature."),Ra=e("h3",{id:"returns-11"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-11"},"#")],-1),Ea=e("p",null,"Empty body.",-1),Sa=e("div",{class:"right"},[e("h3",{id:"rest-api-11"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-11"},"#")]),e("pre",null,[e("code",null,`POST /users/invite
`)]),e("h5",{id:"example-18"},[s("Example "),e("a",{class:"header-anchor",href:"#example-18"},"#")]),e("pre",null,[e("code",{class:"language-json"},[e("span",{class:"hljs-comment"},"// POST /users/invite"),s(`

{
	`),e("span",{class:"hljs-attr"},'"email"'),s(": "),e("span",{class:"hljs-string"},'"another@example.com"'),s(`,
	`),e("span",{class:"hljs-attr"},'"role"'),s(": "),e("span",{class:"hljs-string"},'"c86c2761-65d3-43c3-897f-6f74ad6a5bd7"'),s(`
}
`)])]),e("h3",{id:"graphql-11"},[s("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-11"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
`)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Mutation"),s(` {
	users_invite(email:`),e("span",{class:"hljs-type"}," String"),s("!, role:"),e("span",{class:"hljs-type"}," String"),s("!, invite_url:"),e("span",{class:"hljs-type"}," String"),s("):"),e("span",{class:"hljs-type"}," Boolean"),s(`
}
`)])]),e("h5",{id:"example-19"},[s("Example "),e("a",{class:"header-anchor",href:"#example-19"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"mutation"),s(` {
	users_invite(email: `),e("span",{class:"hljs-string"},'"another@example.com"'),s(", role: "),e("span",{class:"hljs-string"},'"c86c2761-65d3-43c3-897f-6f74ad6a5bd7"'),s(`)
}
`)])])],-1),Pa=e("hr",null,null,-1),ka=e("h2",{id:"accept-user-invite"},[s("Accept User Invite "),e("a",{class:"header-anchor",href:"#accept-user-invite"},"#")],-1),Aa=e("p",null,[s("Accept your invite. The "),e("a",{href:"#invite-a-new-user"},"invite user endpoint"),s(" sends the email a link to the Admin App.")],-1),Ua=e("p",null,"This link includes a token, which is then used to activate the invited user.",-1),Oa=e("div",{class:"two-up"},[e("div",{class:"left"},[e("h3",{id:"request-body-7"},[s("Request Body "),e("a",{class:"header-anchor",href:"#request-body-7"},"#")]),e("div",{class:"definitions"},[e("p",null,[e("code",null,"token"),s(),e("strong",null,"Required"),e("br"),s(" Accept invite token.")]),e("p",null,[e("code",null,"password"),s(),e("strong",null,"Required"),e("br"),s(" Password for the user.")])]),e("h3",{id:"returns-12"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-12"},"#")]),e("p",null,"Empty body.")]),e("div",{class:"right"},[e("h3",{id:"rest-api-12"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-12"},"#")]),e("pre",null,[e("code",null,`POST /users/invite/accept
`)]),e("h5",{id:"example-20"},[s("Example "),e("a",{class:"header-anchor",href:"#example-20"},"#")]),e("pre",null,[e("code",{class:"language-json"},[e("span",{class:"hljs-comment"},"// POST /users/invite/accept"),s(`

{
	`),e("span",{class:"hljs-attr"},'"token"'),s(": "),e("span",{class:"hljs-string"},'"eyJh...KmUk"'),s(`,
	`),e("span",{class:"hljs-attr"},'"password"'),s(": "),e("span",{class:"hljs-string"},'"d1r3ctu5"'),s(`
}
`)])]),e("h3",{id:"graphql-12"},[s("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-12"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
`)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Mutation"),s(` {
	users_invite_accept(token:`),e("span",{class:"hljs-type"}," String"),s("!, password:"),e("span",{class:"hljs-type"}," String"),s("!):"),e("span",{class:"hljs-type"}," Boolean"),s(`
}
`)])]),e("h5",{id:"example-21"},[s("Example "),e("a",{class:"header-anchor",href:"#example-21"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"mutation"),s(` {
	users_invite_accept(token: `),e("span",{class:"hljs-string"},'"eyJh...KmUk"'),s(", password: "),e("span",{class:"hljs-string"},'"d1r3ctu5"'),s(`)
}
`)])])])],-1),La=e("hr",null,null,-1),Ca=e("h2",{id:"generate-two-factor-authentication-secret"},[s("Generate Two-Factor Authentication Secret "),e("a",{class:"header-anchor",href:"#generate-two-factor-authentication-secret"},"#")],-1),Ia=e("p",null,"Generates a secret and returns the URL to be used in an authenticator app.",-1),Qa=e("div",{class:"two-up"},[e("div",{class:"left"},[e("h3",{id:"request-body-8"},[s("Request Body "),e("a",{class:"header-anchor",href:"#request-body-8"},"#")]),e("div",{class:"definitions"},[e("p",null,[e("code",null,"password"),s(),e("strong",null,"Required"),e("br"),s(" The user\u2019s password.")])]),e("h3",{id:"returns-13"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-13"},"#")]),e("div",{class:"definitions"},[e("p",null,[e("code",null,"secret"),s(),e("strong",null,"string"),e("br"),s(" OTP secret to be saved in the authenticator app.")]),e("p",null,[e("code",null,"otpauth_url"),s(),e("strong",null,"string"),e("br"),e("code",null,"otpauth://"),s(" formatted URL. Can be rendered as QR code and used in most authenticator apps.")])])]),e("div",{class:"right"},[e("h3",{id:"rest-api-13"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-13"},"#")]),e("pre",null,[e("code",null,`POST /users/me/tfa/generate
`)]),e("h5",{id:"example-22"},[s("Example "),e("a",{class:"header-anchor",href:"#example-22"},"#")]),e("pre",null,[e("code",{class:"language-json"},[e("span",{class:"hljs-comment"},"// POST /users/me/tfa/generate"),s(`
{
	`),e("span",{class:"hljs-attr"},'"password"'),s(": "),e("span",{class:"hljs-string"},'"d1r3ctu5"'),s(`
}
`)])]),e("h3",{id:"graphql-13"},[s("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-13"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
`)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Mutation"),s(` {
	users_me_tfa_generate(password:`),e("span",{class:"hljs-type"}," String"),s(`!): users_me_tfa_generate_data
}
`)])]),e("h5",{id:"example-23"},[s("Example "),e("a",{class:"header-anchor",href:"#example-23"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"mutation"),s(` {
	users_me_tfa_generate(password: `),e("span",{class:"hljs-string"},'"d1r3ctu5"'),s(`) {
		secret
		otpauth_url
	}
}
`)])])])],-1),Da=e("hr",null,null,-1),Ga=e("h2",{id:"enable-two-factor-authentication"},[s("Enable Two-Factor Authentication "),e("a",{class:"header-anchor",href:"#enable-two-factor-authentication"},"#")],-1),Ba=e("p",null,"Adds a TFA secret to the user account.",-1),Ma=e("div",{class:"two-up"},[e("div",{class:"left"},[e("h3",{id:"request-body-9"},[s("Request Body "),e("a",{class:"header-anchor",href:"#request-body-9"},"#")]),e("div",{class:"definitions"},[e("p",null,[e("code",null,"secret"),s(),e("strong",null,"Required"),e("br"),s(" The TFA secret from tfa/generate.")]),e("p",null,[e("code",null,"otp"),s(),e("strong",null,"Required"),e("br"),s(" OTP generated with the secret, to recheck if the user has a correct TFA setup")])]),e("h3",{id:"returns-14"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-14"},"#")]),e("div",{class:"definitions"},[e("p",null,"Empty response.")])]),e("div",{class:"right"},[e("h3",{id:"rest-api-14"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-14"},"#")]),e("pre",null,[e("code",null,`POST /users/me/tfa/enable
`)]),e("h5",{id:"example-24"},[s("Example "),e("a",{class:"header-anchor",href:"#example-24"},"#")]),e("pre",null,[e("code",{class:"language-json"},[e("span",{class:"hljs-comment"},"// POST /users/me/tfa/enable"),s(`
{
	`),e("span",{class:"hljs-attr"},'"otp"'),s(": "),e("span",{class:"hljs-string"},'"123456"'),s(`,
	`),e("span",{class:"hljs-attr"},'"secret"'),s(": "),e("span",{class:"hljs-string"},'"3CtiutsNBmY3szHE"'),s(`
}
`)])]),e("h3",{id:"graphql-14"},[s("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-14"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
`)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Mutation"),s(` {
	users_me_tfa_enable(otp:`),e("span",{class:"hljs-type"}," String"),s("!, secret:"),e("span",{class:"hljs-type"}," String"),s("!):"),e("span",{class:"hljs-type"}," Boolean"),s(`
}
`)])]),e("h5",{id:"example-25"},[s("Example "),e("a",{class:"header-anchor",href:"#example-25"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"mutation"),s(` {
	users_me_tfa_enable(otp: `),e("span",{class:"hljs-string"},'"123456"'),s(", secret: "),e("span",{class:"hljs-string"},'"3CtiutsNBmY3szHE"'),s(`)
}
`)])])])],-1),Fa=e("hr",null,null,-1),Ha=e("h2",{id:"disable-two-factor-authentication"},[s("Disable Two-Factor Authentication "),e("a",{class:"header-anchor",href:"#disable-two-factor-authentication"},"#")],-1),Na=e("p",null,"Disables two-factor authentication by removing the OTP secret from the user.",-1),Wa=e("div",{class:"two-up"},[e("div",{class:"left"},[e("h3",{id:"request-body-10"},[s("Request Body "),e("a",{class:"header-anchor",href:"#request-body-10"},"#")]),e("div",{class:"definitions"},[e("p",null,[e("code",null,"otp"),s(),e("strong",null,"Required"),e("br"),s(" One-time password generated by the authenticator app.")])]),e("h3",{id:"returns-15"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-15"},"#")]),e("p",null,"Empty response.")]),e("div",{class:"right"},[e("h3",{id:"rest-api-15"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-15"},"#")]),e("pre",null,[e("code",null,`POST /users/me/tfa/disable
`)]),e("h5",{id:"example-26"},[s("Example "),e("a",{class:"header-anchor",href:"#example-26"},"#")]),e("pre",null,[e("code",{class:"language-json"},[e("span",{class:"hljs-comment"},"// POST /users/me/tfa/disable"),s(`

{
	`),e("span",{class:"hljs-attr"},'"otp"'),s(": "),e("span",{class:"hljs-string"},'"859014"'),s(`
}
`)])]),e("h3",{id:"graphql-15"},[s("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-15"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
`)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Mutation"),s(` {
	users_me_tfa_disable(otp:`),e("span",{class:"hljs-type"}," String"),s("!):"),e("span",{class:"hljs-type"}," Boolean"),s(`
}
`)])]),e("h5",{id:"example-27"},[s("Example "),e("a",{class:"header-anchor",href:"#example-27"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"mutation"),s(` {
	users_me_tfa_disable(otp: `),e("span",{class:"hljs-string"},'"591763"'),s(`)
}
`)])])])],-1),Ka={setup(Va,{expose:c}){const n={title:"Users",modularExtension:!1,pageClass:"page-reference"};return c({frontmatter:n}),(Ya,za)=>{const t=r("router-link"),o=r("DocsWrapper");return h(),i(o,{frontmatter:n},{default:a(()=>[e("div",d,[e("div",u,[e("div",p,[e("blockquote",null,[e("p",null,[_,l(t,{to:"/docs/getting-started/glossary/#users/"},{default:a(()=>[g]),_:1}),f])])]),m]),j,y,e("div",q,[e("div",b,[e("div",v,[w,x,T,R,E,S,P,k,A,e("p",null,[U,O,L,C,I,l(t,{to:"/docs/reference/files/"},{default:a(()=>[Q]),_:1}),D]),G,B,M,F])]),H]),N,W,V,e("div",Y,[e("div",z,[J,e("p",null,[K,l(t,{to:"/docs/reference/query"},{default:a(()=>[X]),_:1}),Z]),$,e("p",null,[ee,l(t,{to:"/docs/reference/query/#limit"},{default:a(()=>[se]),_:1}),ae,te,le])]),e("div",ne,[re,ce,e("p",null,[l(t,{to:"/docs/reference/introduction/#search-http-method"},{default:a(()=>[oe]),_:1})]),he,ie,de,ue,pe])]),_e,ge,fe,e("div",me,[e("div",je,[ye,e("p",null,[qe,l(t,{to:"/docs/reference/query"},{default:a(()=>[be]),_:1}),ve]),we,xe]),Te]),Re,Ee,Se,e("div",Pe,[e("div",ke,[Ae,e("p",null,[Ue,l(t,{to:"/docs/reference/query"},{default:a(()=>[Oe]),_:1}),Le]),Ce,Ie]),Qe]),De,Ge,Be,e("div",Me,[e("div",Fe,[He,e("p",null,[Ne,l(t,{to:"/docs/reference/query"},{default:a(()=>[We]),_:1}),Ve]),Ye,ze]),Je]),Ke,Xe,Ze,e("div",$e,[e("div",es,[ss,e("p",null,[as,l(t,{to:"/docs/reference/query"},{default:a(()=>[ts]),_:1}),ls]),ns,rs,cs,os,hs]),is]),ds,us,ps,e("div",_s,[e("div",gs,[fs,e("p",null,[ms,l(t,{to:"/docs/reference/query"},{default:a(()=>[js]),_:1}),ys]),qs,bs,vs,ws,xs]),Ts]),Rs,Es,Ss,e("div",Ps,[e("div",ks,[As,e("p",null,[Us,l(t,{to:"/docs/reference/query"},{default:a(()=>[Os]),_:1}),Ls]),Cs,Is,Qs,Ds]),Gs]),Bs,Ms,Fs,e("div",Hs,[e("div",Ns,[Ws,e("p",null,[Vs,l(t,{to:"/docs/reference/query"},{default:a(()=>[Ys]),_:1}),zs]),Js,Ks,Xs,Zs]),$s]),ea,sa,aa,ta,la,na,ra,ca,oa,ha,ia,e("div",da,[e("div",ua,[pa,e("div",_a,[ga,fa,e("p",null,[ma,ja,ya,qa,ba,va,l(t,{to:"/docs/configuration/config-options/#security"},{default:a(()=>[wa,xa]),_:1}),Ta])]),Ra,Ea]),Sa]),Pa,ka,Aa,Ua,Oa,La,Ca,Ia,Qa,Da,Ga,Ba,Ma,Fa,Ha,Na,Wa])]),_:1})}}};export{Ka as default};
