Pinata Docs home pagelight logodark logo
  • Support
  • Pinata App
  • Pinata App
Access Controls
Revoke Host Origin Restriction
Documentation
SDK
API Reference
  • API Keys
  • Blog
  • Community
  • Uploads
    • POST
      Upload a File
    • POST
      Create Signed Upload URL
    Files
    • GET
      List Files
    • GET
      Get File by ID
    • POST
      Create Download Link
    • PUT
      Update File
    • DEL
      Delete File by ID
    • POST
      Vectorize a File
    • POST
      Query File Vectors
    • DEL
      Delete File Vectors
    Groups
    • POST
      Create Group
    • GET
      Get Group
    • GET
      List Groups
    • PUT
      Add File To Group
    • DEL
      Remove File From Group
    • PUT
      Update Group
    • DEL
      Delete Group
    Swaps
    • PUT
      Add Swap
    • GET
      Get Swap History
    • DEL
      Remove Swap
    API Keys
    • POST
      Create API Key
    • GET
      List API Keys
    • PUT
      Revoke API Key
    Signatures
    • GET
      Get Signature for a CID
    • POST
      Add Signature to CId
    • DEL
      Remove Signature from CID
    Gateways
    • General
    • Custom Domains
    • Access Controls
      • POST
        Create Gateway Key Restriction
      • POST
        Create Gateway IP Address Restriction
      • POST
        Create Gateway Host Origin Restriction
      • DEL
        Revoke Gateway Key
      • DEL
        Revoke IP Address Restricton
      • DEL
        Revoke Host Origin Restriction
    • Gateway Analytics
    • Gateway Plugins
    Access Controls

    Revoke Host Origin Restriction

    DELETE
    /
    ipfs
    /
    gateways
    /
    {id}
    /
    hosts
    /
    {host_id}

    Authorizations

    ​
    Authorization
    string
    header
    required

    Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

    Path Parameters

    ​
    id
    string
    required

    ID of the target Gateway

    ​
    host_id
    string
    required

    ID of the target host restriction

    Response

    200 - application/json

    The response is of type object.

    Revoke IP Address RestrictonTop Gateway Analytics
    websitetwittergithublinkedin
    Powered by Mintlify