This is a standard ApplicationEditor method which allows you to create and modify objects by applying transactions. For documentation on these endpoints, see Conduit API: Using Edit Endpoints.
Conduit user.edit
user.edit
user.edit
API Method: user.edit
API Method: user.edit
Login Required: This method requires authentication. You must log in before you can make calls to it.
- Returns
- map<string, wild>
- Errors
- ERR-CONDUIT-CORE: See error message for details.
- OAuth Scope
- OAuth clients may never call this method.
Description
Transaction Types
Transaction Types
This endpoint supports these types of transactions. See below for detailed information about each transaction type.
Key | Description |
---|---|
disabled | Disable or enable the user. |
approved | Approve or reject the user. |
realName | Stores the real name of the user, like "Abraham Lincoln". |
title | User title, like "CEO" or "Assistant to the Manager". |
icon | User icon to accompany their title. |
blurb | Short blurb about the user. |
custom.hskrk:pronouns | |
custom.hskrk:social-facebook | |
custom.hskrk:social-github | |
custom.hskrk:social-mastodon | |
custom.hskrk:social-diaspora | |
custom.hskrk:messengers-irc | |
custom.hskrk:messengers-callsign | |
custom.hskrk:messengers-telegram | |
custom.hskrk:messengers-xmpp | |
custom.hskrk:messengers-matrix | |
custom.hskrk:computers-windows | |
custom.hskrk:computers-linux | |
custom.hskrk:computers-hardware | |
custom.hskrk:computers-networking | |
custom.hskrk:computers-security | |
custom.hskrk:computers-programming | |
custom.hskrk:computers-social-media | |
custom.hskrk:computers-3d-design | |
custom.hskrk:computers-stm32 | |
custom.hskrk:computers-arduino | |
custom.hskrk:electronics-soldering | |
custom.hskrk:electronics-pcb-designing | |
custom.hskrk:electronics-circuit debugging | |
custom.hskrk:electronics-analog | |
custom.hskrk:electronics-digital | |
custom.hskrk:electronics-microcontrollers | |
custom.hskrk:electronics-rf-circuits | |
custom.hskrk:electronics-measuring | |
custom.hskrk:crafts-knitting | |
custom.hskrk:crafts-painting | |
custom.hskrk:crafts-sculpting | |
custom.hskrk:crafts-sewing | |
custom.hskrk:crafts-model-making | |
custom.hskrk:fabrication-3dprinting | |
custom.hskrk:fabrication-cnc-routing | |
custom.hskrk:fabrication-laser-cutting | |
custom.hskrk:fabrication-metalworking | |
custom.hskrk:fabrication-woodworking | |
custom.hskrk:fabrication-welding | |
custom.hskrk:interests-aerospace | |
custom.hskrk:interests-rc-flying | |
custom.hskrk:interests-amateur-radio | |
custom.hskrk:interests-brewing | |
custom.hskrk:interests-cooking | |
custom.hskrk:interests-photography | |
mfa | Sign this transaction group with MFA. |
Transaction Type: disabled
Transaction Type: disabled
Disable or enable the user.
Key | Type | Description |
---|---|---|
type | const | disabled |
value | bool | True to disable the user. |
Transaction Type: approved
Transaction Type: approved
Approve or reject the user.
Key | Type | Description |
---|---|---|
type | const | approved |
value | bool | True to approve the user. |
Transaction Type: realName
Transaction Type: realName
Stores the real name of the user, like "Abraham Lincoln".
Key | Type | Description |
---|---|---|
type | const | realName |
value | string |
Transaction Type: title
Transaction Type: title
User title, like "CEO" or "Assistant to the Manager".
Key | Type | Description |
---|---|---|
type | const | title |
value | string |
Transaction Type: icon
Transaction Type: icon
User icon to accompany their title.
Key | Type | Description |
---|---|---|
type | const | icon |
value | string |
Transaction Type: blurb
Transaction Type: blurb
Short blurb about the user.
Key | Type | Description |
---|---|---|
type | const | blurb |
value | string |
Transaction Type: custom.hskrk:pronouns
Transaction Type: custom.hskrk:pronouns
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:pronouns |
value | string |
Transaction Type: custom.hskrk:social-facebook
Transaction Type: custom.hskrk:social-facebook
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:social-facebook |
value | string |
Transaction Type: custom.hskrk:social-github
Transaction Type: custom.hskrk:social-github
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:social-github |
value | string |
Transaction Type: custom.hskrk:social-mastodon
Transaction Type: custom.hskrk:social-mastodon
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:social-mastodon |
value | string |
Transaction Type: custom.hskrk:social-diaspora
Transaction Type: custom.hskrk:social-diaspora
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:social-diaspora |
value | string |
Transaction Type: custom.hskrk:messengers-irc
Transaction Type: custom.hskrk:messengers-irc
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:messengers-irc |
value | string |
Transaction Type: custom.hskrk:messengers-callsign
Transaction Type: custom.hskrk:messengers-callsign
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:messengers-callsign |
value | string |
Transaction Type: custom.hskrk:messengers-telegram
Transaction Type: custom.hskrk:messengers-telegram
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:messengers-telegram |
value | string |
Transaction Type: custom.hskrk:messengers-xmpp
Transaction Type: custom.hskrk:messengers-xmpp
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:messengers-xmpp |
value | string |
Transaction Type: custom.hskrk:messengers-matrix
Transaction Type: custom.hskrk:messengers-matrix
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:messengers-matrix |
value | string |
Transaction Type: custom.hskrk:computers-windows
Transaction Type: custom.hskrk:computers-windows
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:computers-windows |
value | bool |
Transaction Type: custom.hskrk:computers-linux
Transaction Type: custom.hskrk:computers-linux
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:computers-linux |
value | bool |
Transaction Type: custom.hskrk:computers-hardware
Transaction Type: custom.hskrk:computers-hardware
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:computers-hardware |
value | bool |
Transaction Type: custom.hskrk:computers-networking
Transaction Type: custom.hskrk:computers-networking
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:computers-networking |
value | bool |
Transaction Type: custom.hskrk:computers-security
Transaction Type: custom.hskrk:computers-security
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:computers-security |
value | bool |
Transaction Type: custom.hskrk:computers-programming
Transaction Type: custom.hskrk:computers-programming
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:computers-programming |
value | bool |
Transaction Type: custom.hskrk:computers-social-media
Transaction Type: custom.hskrk:computers-social-media
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:computers-social-media |
value | bool |
Transaction Type: custom.hskrk:computers-3d-design
Transaction Type: custom.hskrk:computers-3d-design
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:computers-3d-design |
value | bool |
Transaction Type: custom.hskrk:computers-stm32
Transaction Type: custom.hskrk:computers-stm32
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:computers-stm32 |
value | bool |
Transaction Type: custom.hskrk:computers-arduino
Transaction Type: custom.hskrk:computers-arduino
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:computers-arduino |
value | bool |
Transaction Type: custom.hskrk:electronics-soldering
Transaction Type: custom.hskrk:electronics-soldering
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:electronics-soldering |
value | bool |
Transaction Type: custom.hskrk:electronics-pcb-designing
Transaction Type: custom.hskrk:electronics-pcb-designing
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:electronics-pcb-designing |
value | bool |
Transaction Type: custom.hskrk:electronics-circuit debugging
Transaction Type: custom.hskrk:electronics-circuit debugging
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:electronics-circuit debugging |
value | bool |
Transaction Type: custom.hskrk:electronics-analog
Transaction Type: custom.hskrk:electronics-analog
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:electronics-analog |
value | bool |
Transaction Type: custom.hskrk:electronics-digital
Transaction Type: custom.hskrk:electronics-digital
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:electronics-digital |
value | bool |
Transaction Type: custom.hskrk:electronics-microcontrollers
Transaction Type: custom.hskrk:electronics-microcontrollers
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:electronics-microcontrollers |
value | bool |
Transaction Type: custom.hskrk:electronics-rf-circuits
Transaction Type: custom.hskrk:electronics-rf-circuits
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:electronics-rf-circuits |
value | bool |
Transaction Type: custom.hskrk:electronics-measuring
Transaction Type: custom.hskrk:electronics-measuring
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:electronics-measuring |
value | bool |
Transaction Type: custom.hskrk:crafts-knitting
Transaction Type: custom.hskrk:crafts-knitting
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:crafts-knitting |
value | bool |
Transaction Type: custom.hskrk:crafts-painting
Transaction Type: custom.hskrk:crafts-painting
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:crafts-painting |
value | bool |
Transaction Type: custom.hskrk:crafts-sculpting
Transaction Type: custom.hskrk:crafts-sculpting
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:crafts-sculpting |
value | bool |
Transaction Type: custom.hskrk:crafts-sewing
Transaction Type: custom.hskrk:crafts-sewing
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:crafts-sewing |
value | bool |
Transaction Type: custom.hskrk:crafts-model-making
Transaction Type: custom.hskrk:crafts-model-making
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:crafts-model-making |
value | bool |
Transaction Type: custom.hskrk:fabrication-3dprinting
Transaction Type: custom.hskrk:fabrication-3dprinting
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:fabrication-3dprinting |
value | bool |
Transaction Type: custom.hskrk:fabrication-cnc-routing
Transaction Type: custom.hskrk:fabrication-cnc-routing
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:fabrication-cnc-routing |
value | bool |
Transaction Type: custom.hskrk:fabrication-laser-cutting
Transaction Type: custom.hskrk:fabrication-laser-cutting
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:fabrication-laser-cutting |
value | bool |
Transaction Type: custom.hskrk:fabrication-metalworking
Transaction Type: custom.hskrk:fabrication-metalworking
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:fabrication-metalworking |
value | bool |
Transaction Type: custom.hskrk:fabrication-woodworking
Transaction Type: custom.hskrk:fabrication-woodworking
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:fabrication-woodworking |
value | bool |
Transaction Type: custom.hskrk:fabrication-welding
Transaction Type: custom.hskrk:fabrication-welding
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:fabrication-welding |
value | bool |
Transaction Type: custom.hskrk:interests-aerospace
Transaction Type: custom.hskrk:interests-aerospace
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:interests-aerospace |
value | bool |
Transaction Type: custom.hskrk:interests-rc-flying
Transaction Type: custom.hskrk:interests-rc-flying
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:interests-rc-flying |
value | bool |
Transaction Type: custom.hskrk:interests-amateur-radio
Transaction Type: custom.hskrk:interests-amateur-radio
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:interests-amateur-radio |
value | bool |
Transaction Type: custom.hskrk:interests-brewing
Transaction Type: custom.hskrk:interests-brewing
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:interests-brewing |
value | bool |
Transaction Type: custom.hskrk:interests-cooking
Transaction Type: custom.hskrk:interests-cooking
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:interests-cooking |
value | bool |
Transaction Type: custom.hskrk:interests-photography
Transaction Type: custom.hskrk:interests-photography
Key | Type | Description |
---|---|---|
type | const | custom.hskrk:interests-photography |
value | bool |
Transaction Type: mfa
Transaction Type: mfa
Sign this transaction group with MFA.
Key | Type | Description |
---|---|---|
type | const | mfa |
value | bool |
Call Method
Call Method
Examples
Examples
- Use the Conduit API Tokens panel in Settings to generate or manage API tokens.
- If you submit parameters, these examples will update to show exactly how to encode the parameters you submit.
$ echo <json-parameters> | arc call-conduit --conduit-uri https://phabricator.hskrk.pl/ --conduit-token <conduit-token> -- user.edit
$ curl https://phabricator.hskrk.pl/api/user.edit \
-d api.token=api-token \
-d param=value \
...
-d api.token=api-token \
-d param=value \
...
<?php
require_once 'path/to/libphutil/src/__phutil_library_init__.php';
$api_token = "<api-token>";
$api_parameters = array(<parameters>);
$client = new ConduitClient('https://phabricator.hskrk.pl/');
$client->setConduitToken($api_token);
$result = $client->callMethodSynchronous('user.edit', $api_parameters);
print_r($result);