9.10. swift post


Usage: swift post
Updates meta information for the account, container, or object. If the container is not found, it will be created automatically.

Positional arguments

[container]


        Name of container to post to.

[object]


        Name of object to post.

Optional arguments

-r, --read-acl <acl>


        Read ACL for containers. Quick summary of ACL syntax:
      .r:*, .r:-.example.com, .r:www.example.com, account1,
      account2:user2

-w, --write-acl <acl>


        Write ACL for containers. Quick summary of ACL syntax:
      account1 account2:user2

-t, --sync-to <sync-to>


      Sync To for containers, for multi-cluster replication.

-k, --sync-key <sync-key>


      Sync Key for containers, for multi-cluster replication.

-m, --meta <name:value>


      Sets a meta data item. This option may be repeated.
      Example: -m Color:Blue -m Size:Large

-H, --header <header:value>


      Adds a customized request header.
      This option may be repeated. Example
      -H "content-type:text/plain" -H "Content-Length: 4000"

Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat Documentation

Legal Notice

Theme

© 2026 Red Hat
Back to top