github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/paths/invitations/resend.yaml (about)

     1  ---
     2  summary: Resend an invitation
     3  description: Resend the invitation email (must not be accepted yet). Access token scope must include <code>team.manage</code>.
     4  operationId: invitation/resend
     5  tags:
     6  - Invitations
     7  parameters:
     8  - "$ref": "../../parameters.yaml#/X-PhraseApp-OTP"
     9  - "$ref": "../../parameters.yaml#/account_id"
    10  - "$ref": "../../parameters.yaml#/id"
    11  responses:
    12    '200':
    13      description: OK
    14      content:
    15        application/json:
    16          schema:
    17            "$ref": "../../schemas/invitation.yaml#/invitation"
    18      headers:
    19        X-Rate-Limit-Limit:
    20          "$ref": "../../headers.yaml#/X-Rate-Limit-Limit"
    21        X-Rate-Limit-Remaining:
    22          "$ref": "../../headers.yaml#/X-Rate-Limit-Remaining"
    23        X-Rate-Limit-Reset:
    24          "$ref": "../../headers.yaml#/X-Rate-Limit-Reset"
    25    '400':
    26      "$ref": "../../responses.yaml#/400"
    27    '401':
    28      "$ref": "../../responses.yaml#/401"
    29    '403':
    30      "$ref": "../../responses.yaml#/403"
    31    '404':
    32      "$ref": "../../responses.yaml#/404"
    33    '429':
    34      "$ref": "../../responses.yaml#/429"
    35  x-code-samples:
    36  - lang: Curl
    37    source: |-
    38      curl "https://api.phrase.com/v2/accounts/:account_id/invitations/:id/resend" \
    39        -u USERNAME_OR_ACCESS_TOKEN \
    40        -X POST
    41  - lang: CLI v2
    42    source: |-
    43      phrase invitations resend \
    44      --account_id <account_id> \
    45      --id <id> \
    46      --access_token <token>
    47  x-cli-version: '2.5'