# POST /api/organization-team-join/resend-code

Authentication: no security requirement declared for this operation.

Request body: application/json (required)

Type: object

Schema: [OrganizationTeamJoinRequest](https://sourcey-gauzy.pages.dev/api-reference/models/organizationteamjoinrequest/index.md)

- `deletedAt` (optional)
  Type: string, date-time
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `createdAt` (optional)
  Type: string, date-time
  
  The creation timestamp of the entity.
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `updatedAt` (optional)
  Type: string, date-time
  
  The last update timestamp of the entity.
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `id` (optional)
  Type: string

- `isActive` (optional)
  Type: boolean
  
  default: true

- `isArchived` (optional)
  Type: boolean
  
  default: false

- `archivedAt` (optional)
  Type: string, date-time
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `tenantId` (optional)
  Type: string

- `organizationId` (optional)
  Type: string

- `email` (required)
  Type: string

- `fullName` (optional)
  Type: string

- `linkAddress` (optional)
  Type: string

- `position` (optional)
  Type: string

- `status` (optional)
  Type: string

- `userId` (optional)
  Type: string

- `organizationTeamId` (required)
  Type: string

Responses:

- 200: 

## Examples

### cURL

```bash
curl -X POST 'http://localhost:3000/api/organization-team-join/resend-code' \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "deletedAt": "2018-11-21T06:20:32.232Z",
  "createdAt": "2018-11-21T06:20:32.232Z",
  "updatedAt": "2018-11-21T06:20:32.232Z",
  "id": "string",
  "isActive": true,
  "isArchived": false,
  "archivedAt": "2018-11-21T06:20:32.232Z",
  "tenantId": "string",
  "organizationId": "string",
  "email": "string",
  "fullName": "string",
  "linkAddress": "string",
  "position": "string",
  "status": "string",
  "userId": "string",
  "organizationTeamId": "string"
}'
```

### JavaScript

```javascript
const body = `{
  "deletedAt": "2018-11-21T06:20:32.232Z",
  "createdAt": "2018-11-21T06:20:32.232Z",
  "updatedAt": "2018-11-21T06:20:32.232Z",
  "id": "string",
  "isActive": true,
  "isArchived": false,
  "archivedAt": "2018-11-21T06:20:32.232Z",
  "tenantId": "string",
  "organizationId": "string",
  "email": "string",
  "fullName": "string",
  "linkAddress": "string",
  "position": "string",
  "status": "string",
  "userId": "string",
  "organizationTeamId": "string"
}`;

const response = await fetch('http://localhost:3000/api/organization-team-join/resend-code', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
  },
  body,
});

const data = await response.text();
```

### Python

```python
import requests

body = '''{
  "deletedAt": "2018-11-21T06:20:32.232Z",
  "createdAt": "2018-11-21T06:20:32.232Z",
  "updatedAt": "2018-11-21T06:20:32.232Z",
  "id": "string",
  "isActive": true,
  "isArchived": false,
  "archivedAt": "2018-11-21T06:20:32.232Z",
  "tenantId": "string",
  "organizationId": "string",
  "email": "string",
  "fullName": "string",
  "linkAddress": "string",
  "position": "string",
  "status": "string",
  "userId": "string",
  "organizationTeamId": "string"
}'''

response = requests.post(
    'http://localhost:3000/api/organization-team-join/resend-code',
    data=body.encode('utf-8'),
    headers={
        'Content-Type': 'application/json',
    },
)
print(response.text)
```
