Update Account

Operation ID: accounts.update
PATCH
https://api.authpi.com/v1/accounts/{account_id}

Update account by its ID.

Request

Request body

Schema | application/json
name
string
type
string
org_type
string
description

Content in specified format.

required object
content_type
One of: plainmarkdownhtml
required string
value

The content value.

required string
logo_url
string[uri]
settings
object
max_members
number
invitation
object
enabled
boolean
display_name
string
description

Content in specified format.

required object
content_type
One of: plainmarkdownhtml
required string
value

The content value.

required string
website_url
string
security
object
enforce_2fa
boolean
metadata
object
Schema | application/x-www-form-urlencoded
name
string
type
string
org_type
string
description

Content in specified format.

required object
content_type
One of: plainmarkdownhtml
required string
value

The content value.

required string
logo_url
string[uri]
settings
object
max_members
number
invitation
object
enabled
boolean
display_name
string
description

Content in specified format.

required object
content_type
One of: plainmarkdownhtml
required string
value

The content value.

required string
website_url
string
security
object
enforce_2fa
boolean
metadata
object

Responses

200

Account

400

Bad request - The request is not valid or missing required parameters.

401

Unauthorized - The request is not allowed because the client or user is not authenticated.

403

Forbidden - The request is not allowed because the client or user does not have the necessary permissions.

404

Not found - The requested resource does not exist.

422

Unprocessable entity - The data provided in the request is not valid.

429

Too many requests - The client has sent too many requests in a given amount of time.

500

Internal server error - An unexpected error occurred while processing the request.