> ## Documentation Index
> Fetch the complete documentation index at: https://api.tipee.ch/llms.txt
> Use this file to discover all available pages before exploring further.

# Grant resource

> Grants access rights to a resource on a project.



## OpenAPI

````yaml preview post /api/activity/projects.grant-resource
openapi: 3.1.0
info:
  title: tipee
  version: preview
servers: []
security:
  - basicAuth: []
tags:
  - name: Activity
    description: Activity
  - name: Balances
    description: Balances
  - name: Directory
    description: Directory
  - name: Schedule
    description: Schedule
  - name: Timeclock
    description: Timeclock
paths:
  /api/activity/projects.grant-resource:
    post:
      tags:
        - Activity
      summary: Grant resource
      description: Grants access rights to a resource on a project.
      operationId: post_app_ui_api_activity_configuration_projectcommand_grantresource
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GrantProjectResourceCommand'
      responses:
        '204':
          description: Access rights granted to resource.
components:
  schemas:
    GrantProjectResourceCommand:
      required:
        - project_id
        - resource_id
        - access_rights
      properties:
        project_id:
          $ref: '#/components/schemas/Snowflake'
        resource_id:
          $ref: '#/components/schemas/Snowflake'
        access_rights:
          type: array
          items:
            $ref: '#/components/schemas/ProjectAccessRights'
      type: object
    Snowflake:
      type: string
      format: snowflake
      example: '872815618512410358'
    ProjectAccessRights:
      type: string
      example: manage-project
      enum:
        - manage-project
        - validate-hours
        - contribute-hours
        - consult-hours

````