Update User

Update a user in Opsgenie. Initial user values are used for fields that are not updated.

If you have integrated your Opsgenie account with Atlassian Accounts, you can no longer perform an update.

Input

Field Definition Type Required
User ID/Username ID of the user or email address of the user. String TRUE
Role Name of the role assigned to the user. These roles are dynamically generated based on custom roles the user has created.

For example, admin, user or the name of a custom role.

Dropdown FALSE
Skype Username Skype username of the user. String FALSE
Address Line Address of the user. String FALSE
City Country of the user. String FALSE
State State address of the user. String FALSE
Country Country of the user. String FALSE
Zip Code Zip Code of the user's address. String FALSE
Custom Details Displays a set of user defined properties. Object FALSE
Timezone Timezone of the user. If not set, timezone of the customer will be used instead. You can refer to Supported Timezone IDs. Dropdown FALSE
Locale Location information of the user. If not set, locale of the customer is used instead. String FALSE
Tags List of labels attached to the user. You can label users to differentiate them.

For example, you can add ITManager tag to differentiate people with this role from others.

Array of Strings FALSE

Output

Field Definition Type
Status Code Result of the operation. The HTTP status code is returned by the connector and indicates whether the action taken by the card succeeded or failed. For example:
  • A 201 Created status code indicates success where a new resource was created.
  • A 403 Forbidden error indicates that the HTTP request was not processed because the necessary permissions were missing.

For a full list of possible status codes, see HTTP status codes.

Number
Result String describing the result of the API call.

For example, Updated.

String

Related topics

Opsgenie connector

About the elements of Okta Workflows

Opsgenie API overview