User Profile
The signed-in user’s own profile — read it, patch it, or close the account with :delete_account.
Get profile
The signed-in user's own record. It is a singleton (§9): there is no id in the URL because the bearer token already names whose profile this is, so there is no way to read anyone else's. Read it, patch it, or close the account with profile:delete_account — DELETE on a singleton is not a thing.
Headers
If-None-MatchA matching etag answers 304 with no body (§16).
Get profile › Responses
The resource.
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
emailThe address the account signs in with. Changing it changes the sign-in identity.
firstnameThe user's given name, as the admin greets them.
lastnameThe user's family name, shown beside the given one.
interface_localeThe language the admin interface is shown to this user in. It has nothing to do with the languages the websites are published in — those are views.
is_activeWhether the account is usable. It is not settable here — closing an account is profile:delete_account.
Update profile
The signed-in user's own record. It is a singleton (§9): there is no id in the URL because the bearer token already names whose profile this is, so there is no way to read anyone else's. Read it, patch it, or close the account with profile:delete_account — DELETE on a singleton is not a thing.
query Parameters
update_maskComma-separated field paths to merge. A field named here and sent as null is cleared; without the mask a null is dropped (§7, §11).
Headers
If-MatchThe etag the client last read. A mismatch is ABORTED (409) with the current resource in the error details (§14).
Update profile › Request Body
emailThe address the account signs in with. Changing it changes the sign-in identity.
firstnameThe user's given name, as the admin greets them.
lastnameThe user's family name, shown beside the given one.
interface_localeThe language the admin interface is shown to this user in. It has nothing to do with the languages the websites are published in — those are views.
passwordA new password. Write-only: it is applied and never echoed back, and setting it needs current_password in the same body.
current_passwordThe password in force right now, proving the session belongs to whoever is changing it. Write-only, and only meaningful alongside password.
Update profile › Responses
The updated resource.
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
emailThe address the account signs in with. Changing it changes the sign-in identity.
firstnameThe user's given name, as the admin greets them.
lastnameThe user's family name, shown beside the given one.
interface_localeThe language the admin interface is shown to this user in. It has nothing to do with the languages the websites are published in — those are views.
is_activeWhether the account is usable. It is not settable here — closing an account is profile:delete_account.
Delete account (profile)
Closes the signed-in user's own account. It is a custom method rather than a DELETE because a singleton has no Delete (§9) — and because closing an account is not the same act as removing a row: it is irreversible, and it is the caller's own account, never anyone else's. The owner of an account that other members still belong to is refused FAILED_PRECONDITION, naming those accounts, until they hand each one over with accounts/{account}:transfer_ownership; an account they are the only member of is left without an owner.
Delete account (profile) › Request Body optional
Delete account (profile) › Responses
The affected resource, or the method’s own response object (§10).