PATCH/projects/api/v3/companies/domains/{id}.json

Update an existing company domain.

Update an existing company domain.

Path Params

  • Name
    id
    Type
    integer
    required
    Description

Body Params

Request contains information of a company domains to be updated.

    • Name
      companyDomain
      Type
      object
      Description
      Domain contains all the information returned from a domain.

    Responses

    • Code
      200
      Type
      object
      Schema
      Description
      200 OK
      Response contains information about a specific domain.
    • Code
      400
      Type
      object
      Schema
      Description
      400 Bad Request
      ErrorResponse defines how []Error should be marshaled to JSON.
    • Code
      403
      Type
      object
      Schema
      Description
      403 Forbidden
      ErrorResponse defines how []Error should be marshaled to JSON.
    • Code
      404
      Description
      404 Not Found No Data
    • Code
      409
      Type
      object
      Schema
      Description
      409 Conflict
      ErrorResponse defines how []Error should be marshaled to JSON.

    Examples

    200 OK

    Response
    {
      "domain": {
        "companyId": 0,
        "createdAt": "string",
        "createdByUser": 0,
        "deletedAt": "string",
        "deletedByUser": 0,
        "domain": "string",
        "id": 0,
        "state": "string",
        "updatedAt": "string",
        "updatedByUser": 0
      }
    }