Skip to content
agovena.
agovena.
Get started
Community

API overview

Update the account name

Choose an operation to see its request, response shape, access rules and implementation source.

WriteAuthenticated

PATCH/api/v1/me

Update the account name

Sanctum session or bearer token. Required bearer ability: account.update

Request
FieldInRule
nameJSON bodyRequired string; max 255. No email, password or role changes.
cURL
curl --request PATCH "https://shop.example.test/api/v1/me" \
  --header 'Accept: application/json' \
  --header "Authorization: Bearer $API_TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{"name":"Alex Example"}'
Response200
Success: 200

Response shape (notation, not a captured response)

schema
{ data: { id: integer, name: string, email: string, email_verified: boolean } }

Full response schema

Common errors
HTTP statusMeaning
401unauthenticated: missing or invalid authentication.
403unauthorized, insufficient_scope or ip_not_allowed: check account context, required ability and token IP policy.
422validation_error: invalid input or unmet domain requirements. Payment initiation can also return payment_failed.
429rate_limited: back off before retrying, especially writes.
Error envelope and global caveats

Search documentation

Search guides, commands and API endpoints

What are you looking for?

Documentation