Awesome Support Developer Documentation

Update A User

Update a User

Arguments

id Unique identifier for the user.
username Login name for the user.
name Display name for the user.
first_name First name for the user.
last_name Last name for the user.
email The email address for the user.
url URL of the user.
description Description of the user.
locale Locale for the user.

One of: , en_US

nickname The nickname for the user.
slug An alphanumeric identifier for the user.
roles Roles assigned to the user.
password Password for the user (never included).
meta Meta fields.
wpas_can_be_assigned Can the system assign new tickets to this user?
wpas_smart_tickets_order If Smart Tickets Order is enabled, Awesome Support will display tickets that need immediate attention at the top.
wpas_after_reply If Smart Tickets Order is enabled, Awesome Support will display tickets that need immediate attention at the top.

One of: stay, back, ask


Definition

POST /wpas-api/v1/users/

Example Request

$ curl -X POST http://awesomesupport.dev/wp-json -d '{"title":"My New Title"}'

Share: